aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-25 22:18:31 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-05-26 05:29:24 +0900
commit9862b3bf1e443703df4472a5c098aaeb205096d7 (patch)
treefdacba0815ff7e6dfa5128177fdb5baef685fe48 /activerecord
parent7424a179d61c15fcbd2a2d9937202520c878b2ff (diff)
downloadrails-9862b3bf1e443703df4472a5c098aaeb205096d7.tar.gz
rails-9862b3bf1e443703df4472a5c098aaeb205096d7.tar.bz2
rails-9862b3bf1e443703df4472a5c098aaeb205096d7.zip
Remove a duplicate test of mysql_rake_test
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/tasks/mysql_rake_test.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/test/cases/tasks/mysql_rake_test.rb b/activerecord/test/cases/tasks/mysql_rake_test.rb
index 33da3d11fc..c22d974536 100644
--- a/activerecord/test/cases/tasks/mysql_rake_test.rb
+++ b/activerecord/test/cases/tasks/mysql_rake_test.rb
@@ -294,13 +294,6 @@ if current_adapter?(:Mysql2Adapter)
ActiveRecord::Tasks::DatabaseTasks.structure_dump(@configuration, filename)
end
- def test_structure_dump
- filename = "awesome-file.sql"
- Kernel.expects(:system).with("mysqldump", "--result-file", filename, "--no-data", "--routines", "--skip-comments", "test-db").returns(true)
-
- ActiveRecord::Tasks::DatabaseTasks.structure_dump(@configuration, filename)
- end
-
def test_structure_dump_with_extra_flags
filename = "awesome-file.sql"
expected_command = ["mysqldump", "--result-file", filename, "--no-data", "--routines", "--skip-comments", "--noop", "test-db"]