diff --git a/test/test_helper.rb b/test/test_helper.rb index 8115e3a..3141de3 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -75,11 +75,11 @@ def before_setup def after_teardown; end end -class ActiveJob::TestCase +class ActiveJob::TestCase # rubocop:disable Style/ClassAndModuleChildren # This needs to be set to `nil` to avoid an odd bug in Rails <= 7.1 # where the queue adapter is given a fresh instance of the test adapter # after the `after_teardown` hook is called. def queue_adapter_for_test nil end -end \ No newline at end of file +end