We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b04d44 commit aaa8e9fCopy full SHA for aaa8e9f
activerecord/test/cases/migration/command_recorder_test.rb
@@ -52,7 +52,7 @@ def test_inverse_of_raise_exception_on_unknown_commands
52
end
53
54
def test_irreversible_commands_raise_exception
55
- x = assert_raises(ActiveRecord::IrreversibleMigration) do
+ assert_raises(ActiveRecord::IrreversibleMigration) do
56
@recorder.revert { @recorder.execute "some sql" }
57
58
assert_raises(ActiveRecord::IrreversibleMigration) do
0 commit comments