From 24d2973108d6879bcf8473db94df7a24888a885f Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 9 Dec 2016 16:08:17 -0500 Subject: [PATCH] enable featured links by default --- config/site_settings.yml | 2 +- spec/models/topic_list_spec.rb | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/config/site_settings.yml b/config/site_settings.yml index 42412ef5bd8..1d4eaee0a33 100644 --- a/config/site_settings.yml +++ b/config/site_settings.yml @@ -435,7 +435,7 @@ posting: default: 32000 topic_featured_link_enabled: client: true - default: false + default: true body_min_entropy: 7 min_topic_title_length: client: true diff --git a/spec/models/topic_list_spec.rb b/spec/models/topic_list_spec.rb index f8fbe55c56a..319137f0519 100644 --- a/spec/models/topic_list_spec.rb +++ b/spec/models/topic_list_spec.rb @@ -28,12 +28,8 @@ describe TopicList do SiteSetting.tagging_enabled = true end - after do - SiteSetting.tagging_enabled = false - end - it "should add tags to preloaded custom fields" do - expect(topic_list.preloaded_custom_fields).to eq(Set.new([DiscourseTagging::TAGS_FIELD_NAME])) + expect(topic_list.preloaded_custom_fields).to include(DiscourseTagging::TAGS_FIELD_NAME) end end