aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-27 02:34:38 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-05-29 00:37:13 +0900
commit13515637aa0d6ea16e805e4475d6544918c57e68 (patch)
tree5f7b71ffebe56f0dee44fd8cb5552a875d2d056d /activerecord
parentd93cd4357bacf32dab0f03a9a0abc4144fdcdf16 (diff)
downloadrails-13515637aa0d6ea16e805e4475d6544918c57e68.tar.gz
rails-13515637aa0d6ea16e805e4475d6544918c57e68.tar.bz2
rails-13515637aa0d6ea16e805e4475d6544918c57e68.zip
Remove a redundant test case of command_recorder_test
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/migration/command_recorder_test.rb5
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