From e38045cac64ef45549abd43e3e00f62f14dc219d Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Mon, 9 Sep 2024 15:07:10 -0700 Subject: [PATCH] Update temporarily_release_connection spec now that default connection pool type has changed --- spec/extensions/temporarily_release_connection_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/extensions/temporarily_release_connection_spec.rb b/spec/extensions/temporarily_release_connection_spec.rb index 9e8916325..0bdc29c34 100644 --- a/spec/extensions/temporarily_release_connection_spec.rb +++ b/spec/extensions/temporarily_release_connection_spec.rb @@ -95,7 +95,7 @@ describe "temporarily_release_connection extension" do it "should raise if pool uses connection_handling: :disconnect option" do - db = Sequel.mock(:connection_handling=>:disconnect) + db = Sequel.mock(:connection_handling=>:disconnect, :pool_class=>:threaded) proc do db.extension(:temporarily_release_connection) end.must_raise Sequel::Error