test/test_helper.rb in automigration-0.2.1 vs test/test_helper.rb in automigration-0.2.2
- old
+ new
@@ -13,10 +13,11 @@
AutomigrateApplication.initialize!
# AR connection
ActiveRecord::Base.establish_connection(
:adapter => 'postgresql',
- :database => 'automigration_test'
+ :database => 'automigration_test',
+ :user => ENV['PG_USER']
)
# whitelist attributes
ActiveRecord::Base.attr_accessible nil