Fixes broken spec

This commit is contained in:
Robin Ward 2013-04-05 16:27:25 -04:00
parent c6bd6371f2
commit cecdafd4e8

View file

@ -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