Skip to content

Commit

Permalink
appease the cop
Browse files Browse the repository at this point in the history
  • Loading branch information
plantfansam committed Feb 9, 2024
1 parent 246db37 commit 88e2ac5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@
let(:config) { { propagator: 'vitess' } }

it 'does inject context' do
sql = 'SELECT * from users where users.id = 1 and users.email = "test@test.com"'.freeze
propagator = double("propagator")
sql = 'SELECT * from users where users.id = 1 and users.email = "test@test.com"'
propagator = double('propagator')
allow(propagator).to receive(:inject)
allow(client).to receive(:propagator).and_return(propagator)
expect do
Expand Down

0 comments on commit 88e2ac5

Please sign in to comment.