mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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
This commit is contained in:
parent
921752c7d5
commit
4eb1413e3b
2 changed files with 2 additions and 4 deletions
|
@ -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.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'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue