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 dead code in tests #38922

Merged
merged 1 commit into from Apr 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions activerecord/test/cases/pooled_connections_test.rb
Expand Up @@ -70,9 +70,4 @@ def test_pooled_connection_remove
ActiveRecord::Base.connection_pool.remove(extra_connection)
assert_equal ActiveRecord::Base.connection, old_connection
end

private
def add_record(name)
ActiveRecord::Base.connection_pool.with_connection { Project.create! name: name }
end
end unless in_memory_db?