diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2013-04-30 17:24:29 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2013-04-30 17:24:29 -0700 |
commit | 2496bd9a98a817dbee567948e19fbee08991d347 (patch) | |
tree | 816a5c468f2b317f8e6eda6bd683fa9652deb9ec /activerecord/test/cases/tasks | |
parent | ebd7cc6f459e43aa03a6b8095266888909e0ee4d (diff) | |
download | rails-2496bd9a98a817dbee567948e19fbee08991d347.tar.gz rails-2496bd9a98a817dbee567948e19fbee08991d347.tar.bz2 rails-2496bd9a98a817dbee567948e19fbee08991d347.zip |
Mute psql output when running rake db:schema:load
Diffstat (limited to 'activerecord/test/cases/tasks')
-rw-r--r-- | activerecord/test/cases/tasks/postgresql_rake_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/tasks/postgresql_rake_test.rb b/activerecord/test/cases/tasks/postgresql_rake_test.rb index 7e7a469edd..f31896bc7f 100644 --- a/activerecord/test/cases/tasks/postgresql_rake_test.rb +++ b/activerecord/test/cases/tasks/postgresql_rake_test.rb @@ -227,7 +227,7 @@ module ActiveRecord def test_structure_load filename = "awesome-file.sql" - Kernel.expects(:system).with("psql -f #{filename} my-app-db") + Kernel.expects(:system).with("psql -q -f #{filename} my-app-db") ActiveRecord::Tasks::DatabaseTasks.structure_load(@configuration, filename) end |