Skip to content

Commit 4cd1c84

Browse files
authored
Remove tests for GetModels tool
Those are simply testing reflection APIs and do not bring any value.
1 parent 90230a3 commit 4cd1c84

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

spec/tools/get_models_spec.rb

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,6 @@ def self.table_exists?
3737
end
3838

3939
describe Tidewave::Tools::GetModels do
40-
describe ".tool_name" do
41-
it "returns the correct tool name" do
42-
expect(described_class.tool_name).to eq("get_models")
43-
end
44-
end
45-
46-
describe ".description" do
47-
it "returns the correct description" do
48-
expect(described_class.description).to eq(
49-
<<~DESCRIPTION
50-
Returns a list of all models in the application.
51-
DESCRIPTION
52-
)
53-
end
54-
end
55-
56-
describe ".input_schema_to_json" do
57-
it "returns the correct input schema" do
58-
expect(described_class.input_schema_to_json).to be_nil
59-
end
60-
end
61-
6240
describe "#call" do
6341
before do
6442
# Mock Rails.application.eager_load! to avoid loading all models

0 commit comments

Comments
 (0)