Skip to content

Commit

Permalink
Fix rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fractaledmind committed Dec 17, 2024
1 parent ec8794c commit 7fd7f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
end

0 comments on commit 7fd7f54

Please sign in to comment.