From 0681d662bcde9ebf3f0ae00e2aacb295b192b366 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Mon, 17 Sep 2012 22:37:17 -0500 Subject: [PATCH] * forcing password connect with jam-ruby test helpers --- spec/spec_db.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/spec_db.rb b/spec/spec_db.rb index 5a3a935ee..d65d254a5 100644 --- a/spec/spec_db.rb +++ b/spec/spec_db.rb @@ -3,9 +3,9 @@ class SpecDb TEST_DB_NAME="jam_ruby_test" def self.recreate_database - conn = PG::Connection.open("dbname=postgres") + conn = PG::Connection.open("dbname=postgres user=postgres password=postgres") conn.exec("DROP DATABASE IF EXISTS #{TEST_DB_NAME}") conn.exec("CREATE DATABASE #{TEST_DB_NAME}") - JamDb::Migrator.new.migrate(:dbname => TEST_DB_NAME) + JamDb::Migrator.new.migrate(:dbname => TEST_DB_NAME, :user => "postgres", :password => "postgres") end -end \ No newline at end of file +end