mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #1939 from lukemelia/patch-1
Fixed typo in test name
This commit is contained in:
commit
81a4b4d97e
@ -876,7 +876,7 @@ describe Guardian do
|
|||||||
Guardian.new(moderator).can_delete?(category).should be_false
|
Guardian.new(moderator).can_delete?(category).should be_false
|
||||||
end
|
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_cat_id = SiteSetting.uncategorized_category_id
|
||||||
uncategorized_category = Category.find(uncategorized_cat_id)
|
uncategorized_category = Category.find(uncategorized_cat_id)
|
||||||
Guardian.new(admin).can_delete?(uncategorized_category).should be_false
|
Guardian.new(admin).can_delete?(uncategorized_category).should be_false
|
||||||
|
Loading…
Reference in New Issue
Block a user