Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix a topic list spec flake (#39991)

Jarek Radosze1265db0d9ff
diff --git a/spec/system/topic_list_spec.rb b/spec/system/topic_list_spec.rb
index 9f07af6ee38..d1b7308e6e8 100644
--- a/spec/system/topic_list_spec.rb
+++ b/spec/system/topic_list_spec.rb
@@ -134,7 +134,7 @@ describe "Topic list" do
topic =
Fabricate(
:topic,
- title: Faker::Lorem.sentence(word_count: rand(3..12)).chomp("."),
+ title: Faker::Lorem.sentence(word_count: rand(6..12)).chomp("."),
category: categories.sample,
)
Fabricate(:post, topic: topic)