1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #39224 from yahonda/diag_build_68962

Address `InnerJoinAssociationTest#test_eager_load_with_string_joins` failure with mysql2
This commit is contained in:
Eugene Kenny 2020-05-11 00:50:09 +01:00 committed by GitHub
commit f834f2aea8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,10 @@ class DirtyTest < ActiveRecord::TestCase
Person.create first_name: "foo" Person.create first_name: "foo"
end end
def teardown
Person.delete_by(first_name: "foo")
end
def test_attribute_changes def test_attribute_changes
# New record - no changes. # New record - no changes.
pirate = Pirate.new pirate = Pirate.new