diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fcd8a77c7..35a7657b1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,4 +34,4 @@ Please test with the latest Ruby 1.8.x and 1.9.x versions using RVM if possible. ## Running active record tests Make sure you have a local PostgreSQL database named `carrierwave_test` with the username -`root` and empty password. +`postgres` diff --git a/spec/support/activerecord.rb b/spec/support/activerecord.rb index 9c34ee89c..af34d4eaf 100644 --- a/spec/support/activerecord.rb +++ b/spec/support/activerecord.rb @@ -10,7 +10,8 @@ dbconfig = { :adapter => 'postgresql', :database => 'carrierwave_test', - :encoding => 'utf8' + :encoding => 'utf8', + :username => 'postgres' } database = dbconfig.delete(:database)