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

reconnect after the fork returns

This commit is contained in:
Aaron Patterson 2013-08-30 19:36:41 -07:00
parent fcb92882b1
commit baf5f47b87

View file

@ -1348,6 +1348,8 @@ class BasicsTest < ActiveRecord::TestCase
wr.close
assert Marshal.load rd.read
rd.close
ensure
ActiveRecord::Base.connection.reconnect!
end
def test_marshalling_new_record_round_trip_with_associations