Skip to content

Commit

Permalink
Update temporarily_release_connection spec now that default connectio…
Browse files Browse the repository at this point in the history
…n pool type has changed
  • Loading branch information
jeremyevans committed Sep 9, 2024
1 parent 0f4cce2 commit e38045c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/extensions/temporarily_release_connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e38045c

Please sign in to comment.