We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0339b3b commit 0e906cfCopy full SHA for 0e906cf
spec/rspec_sql_matcher/match_query_spec.rb
@@ -5,14 +5,14 @@
5
it 'matches the executed query with a regexp' do
6
expect do
7
Book.where(title: 'cool').first
8
- end.to match_query(/FROM "books" WHERE "books"."title" = ?/)
+ end.to match_query(/FROM [`"]books[`"] WHERE [`"]books[`"].[`"]title[`"] = ?/)
9
end
10
11
it 'matches at least a query within a group' do
12
13
Book.all.to_a
14
15
- end.to match_query(/WHERE "books"."title"/)
+ end.to match_query(/WHERE [`"]books[`"].[`"]title[`"]/)
16
17
18
it 'works with negation' do
0 commit comments