Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit d74da58

Browse files
committed
fix another system test tests
1 parent d5c94b8 commit d74da58

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

spec/system/ai_helper/ai_split_topic_suggestion_spec.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,15 @@ def open_move_topic_modal
5656
context "when suggesting titles with AI title suggester" do
5757
let(:mode) { DiscourseAi::AiHelper::Assistant::GENERATE_TITLES }
5858
let(:titles) do
59-
"<item>Pie: A delicious dessert</item><item>Cake is the best!</item><item>Croissants are delightful</item><item>Some great desserts</item><item>What is the best dessert?</item>"
59+
{
60+
output: [
61+
"Pie: A delicious dessert",
62+
"Cake is the best!",
63+
"Croissants are delightful",
64+
"Some great desserts",
65+
"What is the best dessert?",
66+
],
67+
}
6068
end
6169

6270
it "opens a menu with title suggestions" do

0 commit comments

Comments
 (0)