Remove test helper method to inside test method
Remove `MigrationTest#connection` and write `ActiveRecord::Base.connection` directly to test, because `MigrationTest#connection` is only used in `test_migration_instance_has_connection`.
Showing
想要评论请 注册 或 登录