enable featured links by default
This commit is contained in:
parent
fb2633366a
commit
24d2973108
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue