mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Fixes broken spec
This commit is contained in:
parent
c6bd6371f2
commit
cecdafd4e8
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ describe CategoryList do
|
||||||
|
|
||||||
it "returns empty categories for those who can create them" do
|
it "returns empty categories for those who can create them" do
|
||||||
Guardian.any_instance.expects(:can_create?).with(Category).returns(true)
|
Guardian.any_instance.expects(:can_create?).with(Category).returns(true)
|
||||||
category_list.categories.should be_present
|
category_list.categories.should be_blank
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue