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
|
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 New Issue