diff options
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/Rakefile | 4 | ||||
-rw-r--r-- | activerecord/test/connections/native_postgresql/connection.rb | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 3c5ba6c285..94277704d1 100755 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -71,8 +71,8 @@ namespace :postgresql do task :build_databases do %x( createdb activerecord_unittest ) %x( createdb activerecord_unittest2 ) - %x( psql activerecord_unittest -f #{File.join(SCHEMA_ROOT, 'postgresql.sql')} ) - %x( psql activerecord_unittest2 -f #{File.join(SCHEMA_ROOT, 'postgresql2.sql')} ) + %x( psql activerecord_unittest -f #{File.join(SCHEMA_ROOT, 'postgresql.sql')} ) + %x( psql activerecord_unittest2 -f #{File.join(SCHEMA_ROOT, 'postgresql2.sql')} ) end desc 'Drop the PostgreSQL test databases' diff --git a/activerecord/test/connections/native_postgresql/connection.rb b/activerecord/test/connections/native_postgresql/connection.rb index 7ee83f4837..3b5ff90003 100644 --- a/activerecord/test/connections/native_postgresql/connection.rb +++ b/activerecord/test/connections/native_postgresql/connection.rb @@ -7,13 +7,11 @@ ActiveRecord::Base.logger = Logger.new("debug.log") ActiveRecord::Base.configurations = { 'arunit' => { :adapter => 'postgresql', - :username => nil, :database => 'activerecord_unittest', :min_messages => 'warning' }, 'arunit2' => { :adapter => 'postgresql', - :username => nil, :database => 'activerecord_unittest2', :min_messages => 'warning' } |