diff options
author | George Claghorn <george@basecamp.com> | 2019-05-16 09:02:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-16 09:02:36 -0400 |
commit | c8396e030f4b1edd48340975696dcaf6aa8291c9 (patch) | |
tree | 6246c1d3f8ac1c8212b613cc3ced8885c9fcc382 /activerecord/lib/active_record/aggregations.rb | |
parent | 9c87d2316adf36cf33b1b7afe8d779bf420c52a7 (diff) | |
download | rails-c8396e030f4b1edd48340975696dcaf6aa8291c9.tar.gz rails-c8396e030f4b1edd48340975696dcaf6aa8291c9.tar.bz2 rails-c8396e030f4b1edd48340975696dcaf6aa8291c9.zip |
Permit running jobs in system tests
Inherit from ActiveSupport::TestCase instead of ActionDispatch::IntegrationTest. Active Job automatically mixes its test helper into the latter, forcibly setting the test queue adapter before Capybara starts its app server.
As a bonus, we no longer need to remove the parts of the ActionDispatch::IntegrationTest API we don’t want to expose.
Diffstat (limited to 'activerecord/lib/active_record/aggregations.rb')
0 files changed, 0 insertions, 0 deletions