Merge pull request #1939 from lukemelia/patch-1

Fixed typo in test name
This commit is contained in:
Sam 2014-02-13 17:15:49 +11:00
commit 81a4b4d97e

View file

@ -876,7 +876,7 @@ describe Guardian do
Guardian.new(moderator).can_delete?(category).should be_false
end
it "can't be deleted if it is the Uncategorizied Category" do
it "can't be deleted if it is the Uncategorized Category" do
uncategorized_cat_id = SiteSetting.uncategorized_category_id
uncategorized_category = Category.find(uncategorized_cat_id)
Guardian.new(admin).can_delete?(uncategorized_category).should be_false