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:
parent
fcb92882b1
commit
baf5f47b87
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue