aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-05-26 08:59:41 +0930
committerGitHub <noreply@github.com>2017-05-26 08:59:41 +0930
commite8391bab928bda5ec4555e2ddb61e9092c2203c0 (patch)
tree2091baff451f2093cc6d02eb991849ad3becca20 /activerecord
parentb2556fd8a4bc42beabf25dd199fd454963ccd754 (diff)
parent9862b3bf1e443703df4472a5c098aaeb205096d7 (diff)
downloadrails-e8391bab928bda5ec4555e2ddb61e9092c2203c0.tar.gz
rails-e8391bab928bda5ec4555e2ddb61e9092c2203c0.tar.bz2
rails-e8391bab928bda5ec4555e2ddb61e9092c2203c0.zip
Merge pull request #29226 from koic/remove_duplicate_mysql_rake_test
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"]