From 13515637aa0d6ea16e805e4475d6544918c57e68 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 27 May 2017 02:34:38 +0900 Subject: Remove a redundant test case of command_recorder_test --- activerecord/test/cases/migration/command_recorder_test.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'activerecord/test/cases') 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 -- cgit v1.2.3