Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove test helper method to inside test method #21341

Merged
merged 1 commit into from Aug 23, 2015

Conversation

yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Aug 23, 2015

Remove MigrationTest#connection and write ActiveRecord::Base.connection
directly to test, because MigrationTest#connection is only used in
test_migration_instance_has_connection.

Remove `MigrationTest#connection` and write `ActiveRecord::Base.connection`
directly to test, because `MigrationTest#connection` is only used in
`test_migration_instance_has_connection`.
senny added a commit that referenced this pull request Aug 23, 2015
Remove test helper method to inside test method
@senny senny merged commit 861146f into rails:master Aug 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants