enable featured links by default

This commit is contained in:
Neil Lalonde 2016-12-09 16:08:17 -05:00
parent fb2633366a
commit 24d2973108
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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