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

Commit 2326056

Browse files
committed
complete the spec
1 parent 6e35293 commit 2326056

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/lib/discourse_automation/llm_tool_triage_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161
DiscourseAi::Completions::Llm.with_prepared_responses(
6262
["this is how you reset your password"],
6363
) { result = described_class.handle(post: post, tool_id: tool.id) }
64-
p result
64+
expect(result["processed"]).to eq(true)
65+
response = post.topic.reload.posts.order(:post_number).last
66+
expect(response.raw).to eq("this is how you reset your password")
6567
end
6668
end

0 commit comments

Comments
 (0)