diff --git a/spec/components/category_list_spec.rb b/spec/components/category_list_spec.rb index c0d41144675..540e607429a 100644 --- a/spec/components/category_list_spec.rb +++ b/spec/components/category_list_spec.rb @@ -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