mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #21342 from yui-knk/test/add_assert_method
Add `assert_nothing_raised` to make clear test case perpose
This commit is contained in:
commit
c5abac2b31
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class MigrationTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
def test_migration_version
|
||||
ActiveRecord::Migrator.run(:up, MIGRATIONS_ROOT + "/version_check", 20131219224947)
|
||||
assert_nothing_raised { ActiveRecord::Migrator.run(:up, MIGRATIONS_ROOT + "/version_check", 20131219224947) }
|
||||
end
|
||||
|
||||
def test_create_table_with_force_true_does_not_drop_nonexisting_table
|
||||
|
|
Loading…
Reference in a new issue