DEV: Remove redundant category list spec
The behavior has been deliberately changed in 7640914552
This commit is contained in:
parent
375f4c09ce
commit
31775c996c
|
@ -62,10 +62,6 @@ describe CategoryList do
|
||||||
SiteSetting.mute_all_categories_by_default = true
|
SiteSetting.mute_all_categories_by_default = true
|
||||||
end
|
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
|
it "returns correct notification level for user tracking category" do
|
||||||
CategoryUser.set_notification_level_for_category(user, NotificationLevels.all[:tracking], category.id)
|
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
|
notification_level = category_list.categories.find { |c| c.id == category.id }.notification_level
|
||||||
|
|
Loading…
Reference in New Issue