lib/active_job/test_helper.rb in activejob-7.1.2 vs lib/active_job/test_helper.rb in activejob-7.1.3

- old
+ new

@@ -32,10 +32,12 @@ self._test_adapter = test_adapter end end end - ActiveJob::Base.include(TestQueueAdapter) + ActiveSupport.on_load(:active_job) do + ActiveJob::Base.include(TestQueueAdapter) + end def before_setup # :nodoc: test_adapter = queue_adapter_for_test queue_adapter_changed_jobs.each do |klass|