We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c90604 commit 8d41d67Copy full SHA for 8d41d67
activejob/CHANGELOG.md
@@ -1,3 +1,7 @@
1
+* Do not trigger immediate loading of `ActiveJob::Base` when loading `ActiveJob::TestHelper`.
2
+
3
+ *Maxime Réty*
4
5
* Preserve the serialized timezone when deserializing `ActiveSupport::TimeWithZone` arguments.
6
7
*Joshua Young*
activejob/lib/active_job/test_helper.rb
@@ -34,7 +34,9 @@ def enable_test_adapter(test_adapter)
34
end
35
36
37
- ActiveJob::Base.include(TestQueueAdapter)
+ ActiveSupport.on_load(:active_job) do
38
+ ActiveJob::Base.include(TestQueueAdapter)
39
+ end
40
41
def before_setup # :nodoc:
42
test_adapter = queue_adapter_for_test
0 commit comments