Skip to content

Commit

Permalink
Ensure db is created when tested under jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanTron committed Feb 4, 2014
1 parent ad0a1be commit 1dd382e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -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
Expand Down

0 comments on commit 1dd382e

Please sign in to comment.