Skip to content

Commit 5093252

Browse files
pimpinclaude
andcommitted
fix(spec): correct type=$1 assertion to match actual spacing "type = $1"
The code generates "type = $1" with spaces around =, consistent with all other conditions. The test incorrectly expected "type=$1". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 368ee87 commit 5093252

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/relation_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def self.active
314314
it "should return parameterized query with to_n1ql_with_params" do
315315
relation = RelationModel.where(active: true, name: "Jane")
316316
n1ql, params = relation.send(:to_n1ql_with_params)
317-
expect(n1ql).to include("type=$1")
317+
expect(n1ql).to include("type = $1")
318318
expect(n1ql).to include("active = $2")
319319
expect(n1ql).to include("name = $3")
320320
expect(n1ql).not_to include("\"relation_model\"")

0 commit comments

Comments
 (0)