Permalink
Browse files

Cleanup whitespace and remove keys instead of providing nil

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 921752c commit 4eb1413e3ba603608ba27d55fa0d1aa18f7e0223 @NZKoz NZKoz committed Feb 20, 2008
Showing with 2 additions and 4 deletions.
  1. +2 −2 activerecord/Rakefile
  2. +0 −2 activerecord/test/connections/native_postgresql/connection.rb
@@ -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'
@@ -7,13 +7,11 @@
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'
}

0 comments on commit 4eb1413

Please sign in to comment.