diff options
author | Matthew Draper <matthew@trebex.net> | 2017-05-29 02:00:04 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-29 02:00:04 +0930 |
commit | acdf234a4cf28fdf20dcd49ac4013d84448d65b1 (patch) | |
tree | a138948e1cf9719983f57aeb6ff47a3bf23e767f /activerecord | |
parent | c17a670a2161c7e4deb462aea5dd25b7f92e5e05 (diff) | |
parent | 13515637aa0d6ea16e805e4475d6544918c57e68 (diff) | |
download | rails-acdf234a4cf28fdf20dcd49ac4013d84448d65b1.tar.gz rails-acdf234a4cf28fdf20dcd49ac4013d84448d65b1.tar.bz2 rails-acdf234a4cf28fdf20dcd49ac4013d84448d65b1.zip |
Merge pull request #29258 from koic/remove_redundant_command_recorder_test
Remove a redundant test case of command_recorder_test
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/migration/command_recorder_test.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/test/cases/migration/command_recorder_test.rb b/activerecord/test/cases/migration/command_recorder_test.rb index 802a969cb7..007926f1b9 100644 --- a/activerecord/test/cases/migration/command_recorder_test.rb +++ b/activerecord/test/cases/migration/command_recorder_test.rb @@ -211,11 +211,6 @@ module ActiveRecord assert_equal [:remove_index, [:table, { name: "new_index" }]], remove end - def test_invert_add_index_with_no_options - remove = @recorder.inverse_of :add_index, [:table, [:one, :two]] - assert_equal [:remove_index, [:table, { column: [:one, :two] }]], remove - end - def test_invert_remove_index add = @recorder.inverse_of :remove_index, [:table, :one] assert_equal [:add_index, [:table, :one]], add |