Skip to content

Commit

Permalink
We call execute now, so stub it
Browse files Browse the repository at this point in the history
  • Loading branch information
calebhearth committed Nov 20, 2024
1 parent 51af30c commit a857c8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/scenic/adapters/postgres_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ module Adapters
end

it "raises an exception if the version of PostgreSQL is too old" do
connection = double("Connection", postgresql_version: 90300)
connection = double "Connection",
postgresql_version: 90300,
execute: :will_get_right_on_it
connectable = double("Connectable", connection: connection)
adapter = Postgres.new(connectable)
e = Scenic::Adapters::Postgres::ConcurrentRefreshesNotSupportedError
Expand Down

0 comments on commit a857c8e

Please sign in to comment.