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

Commit d5c94b8

Browse files
committed
fix module tests
1 parent a036c6c commit d5c94b8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

spec/lib/modules/ai_helper/assistant_spec.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,15 @@
196196
let(:mode) { described_class::GENERATE_TITLES }
197197

198198
let(:titles) do
199-
"<item>The solitary horse</item><item>The horse etched in gold</item><item>A horse's infinite journey</item><item>A horse lost in time</item><item>A horse's last ride</item>"
199+
{
200+
output: [
201+
"The solitary horse",
202+
"The horse etched in gold",
203+
"A horse's infinite journey",
204+
"A horse lost in time",
205+
"A horse's last ride",
206+
],
207+
}
200208
end
201209

202210
it "returns an array with each title" do

0 commit comments

Comments
 (0)