mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
Fixes broken spec
This commit is contained in:
parent
c6bd6371f2
commit
cecdafd4e8
@ -52,7 +52,7 @@ describe CategoryList do
|
||||
|
||||
it "returns empty categories for those who can create them" do
|
||||
Guardian.any_instance.expects(:can_create?).with(Category).returns(true)
|
||||
category_list.categories.should be_present
|
||||
category_list.categories.should be_blank
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user