提交 c5abac2b 编写于 作者: R Rafael Mendonça França

Merge pull request #21342 from yui-knk/test/add_assert_method

Add `assert_nothing_raised` to make clear test case perpose
......@@ -115,7 +115,7 @@ def test_any_migrations
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册