diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cac9547..17e077e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -22,7 +22,7 @@ def jruby? when "postgres" begin if jruby? - Sequel.connect "jdbc:postgresql://localhost/delayed_jobs" + Sequel.connect "jdbc:postgresql://localhost/delayed_jobs", test: true else Sequel.connect adapter: "postgres", database: "delayed_jobs", test: true end