mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 13:05:45 +08:00
DEV: Remove redundant category list spec
The behavior has been deliberately changed in 76409145523ac33f3f77bb9e8b7104c01aa35735
This commit is contained in:
parent
375f4c09ce
commit
31775c996c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user