diff --git a/config/site_settings.yml b/config/site_settings.yml index 3d5c6e80375..d652fd38422 100644 --- a/config/site_settings.yml +++ b/config/site_settings.yml @@ -2991,7 +2991,7 @@ uncategorized: show_topic_map_in_topics_without_replies: client: true - default: false + default: true user_preferences: default_email_digest_frequency: diff --git a/spec/system/topic_map_spec.rb b/spec/system/topic_map_spec.rb index 7a642abc413..1a83c65122f 100644 --- a/spec/system/topic_map_spec.rb +++ b/spec/system/topic_map_spec.rb @@ -20,8 +20,7 @@ describe "Topic Map", type: :system do sign_in(user) topic_page.visit_topic(topic) - # topic map only appears after at least 1 reply - expect(topic_page).to have_no_topic_map + expect(topic_page).to have_topic_map Fabricate(:post, topic: topic, created_at: 2.day.ago) Fabricate(:post, topic: topic, created_at: 1.day.ago, like_count: 3) 2.times { Fabricate(:post, topic: topic, created_at: 1.day.ago, like_count: 1) }