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

Commit 5c21858

Browse files
committed
chore: fix failed specs
1 parent cefd010 commit 5c21858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/models/ai_tool_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def create_tool(
1111
rag_chunk_overlap_tokens: nil
1212
)
1313
AiTool.create!(
14-
name: "test",
14+
name: "test #{SecureRandom.uuid}",
1515
tool_name: "test_#{SecureRandom.uuid.underscore}",
1616
description: "test",
1717
parameters: parameters || [{ name: "query", type: "string", desciption: "perform a search" }],
@@ -28,7 +28,7 @@ def create_tool(
2828

2929
expect(tool.signature).to eq(
3030
{
31-
name: "test",
31+
name: tool.tool_name,
3232
description: "test",
3333
parameters: [{ name: "query", type: "string", desciption: "perform a search" }],
3434
},

0 commit comments

Comments
 (0)