DEV: Remove redundant category list spec

The behavior has been deliberately changed in 7640914552
This commit is contained in:
David Taylor 2020-02-03 19:01:24 +00:00
parent 375f4c09ce
commit 31775c996c
1 changed files with 0 additions and 4 deletions

View File

@ -62,10 +62,6 @@ describe CategoryList do
SiteSetting.mute_all_categories_by_default = true
end
it "removes the category by default" do
expect(category_list.categories).not_to include(category)
end
it "returns correct notification level for user tracking category" do
CategoryUser.set_notification_level_for_category(user, NotificationLevels.all[:tracking], category.id)
notification_level = category_list.categories.find { |c| c.id == category.id }.notification_level