From 31775c996ca35c0eeea2187ef9ebdee126934ec8 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 3 Feb 2020 19:01:24 +0000 Subject: [PATCH] DEV: Remove redundant category list spec The behavior has been deliberately changed in 76409145523ac33f3f77bb9e8b7104c01aa35735 --- spec/models/category_list_spec.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/models/category_list_spec.rb b/spec/models/category_list_spec.rb index 11691b91205..a68433b96ad 100644 --- a/spec/models/category_list_spec.rb +++ b/spec/models/category_list_spec.rb @@ -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