You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rails 6 has parallel testing enabled by default, each test worker running under its own port.
This means, setting a server_port doesn't work anymore.
Edit: Just realized this Gem is dead :-)
Since I found nothing yet to replace CapybaraEmail, I monkey patched the deliver_later method from with test/application_system_test_case.rb:
classApplicationSystemTestCase < ActionDispatch::SystemTestCase…# Monkey patch to always deliver mails immediately, needed for CapybaraEmail to workclassActionMailer::MessageDeliverydefdeliver_laterdeliver_nowendendend
The text was updated successfully, but these errors were encountered:
Rails 6 has parallel testing enabled by default, each test worker running under its own port.
This means, setting a
server_port
doesn't work anymore.Edit: Just realized this Gem is dead :-)
Since I found nothing yet to replace CapybaraEmail, I monkey patched the
deliver_later
method from withtest/application_system_test_case.rb
:The text was updated successfully, but these errors were encountered: