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

Commit 6efc47e

Browse files
committed
DEV: Fix specs
1 parent 09f081d commit 6efc47e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/requests/admin/ai_tools_controller_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
describe "POST #create" do
4848
let(:valid_attributes) do
4949
{
50-
name: "Test Tool",
50+
name: "Test Tool 1",
5151
tool_name: "test_tool_1",
5252
description: "A test tool",
5353
parameters: [{ name: "query", type: "string", description: "perform a search" }],
@@ -66,7 +66,7 @@
6666
}.to change(AiTool, :count).by(1)
6767

6868
expect(response).to have_http_status(:created)
69-
expect(response.parsed_body["ai_tool"]["name"]).to eq("Test Tool")
69+
expect(response.parsed_body["ai_tool"]["name"]).to eq("Test Tool 1")
7070
expect(response.parsed_body["ai_tool"]["tool_name"]).to eq("test_tool_1")
7171
end
7272

0 commit comments

Comments
 (0)