mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix CI failure due to renamed #exception=
to #error=
in minitest 5.14.0
5802aa0828
https://github.com/seattlerb/minitest/pull/809#discussion_r332399750
To support both 5.13.0 and 5.14.0, use `#initialize` instead.
This commit is contained in:
parent
ee0d2158c9
commit
2bf1c17c20
2 changed files with 2 additions and 2 deletions
|
@ -320,7 +320,7 @@ GEM
|
||||||
mini_magick (4.10.1)
|
mini_magick (4.10.1)
|
||||||
mini_mime (1.0.2)
|
mini_mime (1.0.2)
|
||||||
mini_portile2 (2.4.0)
|
mini_portile2 (2.4.0)
|
||||||
minitest (5.13.0)
|
minitest (5.14.0)
|
||||||
minitest-bisect (1.5.1)
|
minitest-bisect (1.5.1)
|
||||||
minitest-server (~> 1.0)
|
minitest-server (~> 1.0)
|
||||||
path_expander (~> 1.1)
|
path_expander (~> 1.1)
|
||||||
|
|
|
@ -102,7 +102,7 @@ module ActiveSupport
|
||||||
queue.record(reporter, result)
|
queue.record(reporter, result)
|
||||||
rescue DRb::DRbConnError
|
rescue DRb::DRbConnError
|
||||||
result.failures.each do |failure|
|
result.failures.each do |failure|
|
||||||
failure.exception = DRb::DRbRemoteError.new(failure.exception)
|
failure.send(:initialize, DRb::DRbRemoteError.new(failure.exception))
|
||||||
end
|
end
|
||||||
queue.record(reporter, result)
|
queue.record(reporter, result)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue