aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/invertible_migration_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/invertible_migration_test.rb')
-rw-r--r--activerecord/test/cases/invertible_migration_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/invertible_migration_test.rb b/activerecord/test/cases/invertible_migration_test.rb
index 484b4c0fea..cf4e39c4ef 100644
--- a/activerecord/test/cases/invertible_migration_test.rb
+++ b/activerecord/test/cases/invertible_migration_test.rb
@@ -186,10 +186,10 @@ module ActiveRecord
create_table("grapes")
end
end
- assert_equal [[:create_table, ["apples"], block], [:drop_table, ["elderberries"]],
+ assert_equal [[:create_table, ["apples"], block], [:drop_table, ["elderberries"], nil],
[:create_table, ["clementines"], nil], [:create_table, ["dates"], nil],
- [:drop_table, ["bananas"]], [:drop_table, ["grapes"]],
- [:drop_table, ["figs"]]], recorder.commands
+ [:drop_table, ["bananas"], block], [:drop_table, ["grapes"], nil],
+ [:drop_table, ["figs"], nil]], recorder.commands
end
def test_legacy_up