mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove a duplicate test of mysql_rake_test
This commit is contained in:
parent
7424a179d6
commit
9862b3bf1e
1 changed files with 0 additions and 7 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue