Skip to content

Commit e471827

Browse files
committed
Make test mysql compatible
1 parent 981dcf2 commit e471827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ransack/adapters/active_record/context_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ module ActiveRecord
114114
],
115115
)
116116

117-
expect(search.result.to_sql).to include '("notes"."note" != \'some_note\')'
117+
expect(search.result.to_sql).to match /(.notes.\..note. != \'some_note\')/
118118
end
119119
end
120120

0 commit comments

Comments
 (0)