diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-06-16 22:01:45 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-06-17 09:20:58 +0200 |
commit | b4b5af0342cdb5917d9342cd4da245f19c3b4025 (patch) | |
tree | 782d83aeca7d9bf7d12315ddb76c4612440482e0 /activerecord/test | |
parent | 35c3243c58043b2741874016d9531239166b56b8 (diff) | |
download | rails-b4b5af0342cdb5917d9342cd4da245f19c3b4025.tar.gz rails-b4b5af0342cdb5917d9342cd4da245f19c3b4025.tar.bz2 rails-b4b5af0342cdb5917d9342cd4da245f19c3b4025.zip |
fix typo in test method names. [ci skip]
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/tasks/database_tasks_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/test/cases/tasks/database_tasks_test.rb b/activerecord/test/cases/tasks/database_tasks_test.rb index bf9e14fa4f..c0ab821ab6 100644 --- a/activerecord/test/cases/tasks/database_tasks_test.rb +++ b/activerecord/test/cases/tasks/database_tasks_test.rb @@ -205,7 +205,7 @@ module ActiveRecord ActiveRecord::Tasks::DatabaseTasks.drop_all end - def test_creates_configurations_with_local_ip + def test_drops_configurations_with_local_ip @configurations[:development].merge!('host' => '127.0.0.1') ActiveRecord::Tasks::DatabaseTasks.expects(:drop) @@ -213,7 +213,7 @@ module ActiveRecord ActiveRecord::Tasks::DatabaseTasks.drop_all end - def test_creates_configurations_with_local_host + def test_drops_configurations_with_local_host @configurations[:development].merge!('host' => 'localhost') ActiveRecord::Tasks::DatabaseTasks.expects(:drop) @@ -221,7 +221,7 @@ module ActiveRecord ActiveRecord::Tasks::DatabaseTasks.drop_all end - def test_creates_configurations_with_blank_hosts + def test_drops_configurations_with_blank_hosts @configurations[:development].merge!('host' => nil) ActiveRecord::Tasks::DatabaseTasks.expects(:drop) @@ -241,7 +241,7 @@ module ActiveRecord ActiveRecord::Base.stubs(:configurations).returns(@configurations) end - def test_creates_current_environment_database + def test_drops_current_environment_database ActiveRecord::Tasks::DatabaseTasks.expects(:drop). with('database' => 'prod-db') |