aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-09-12 19:19:17 -0400
committerGitHub <noreply@github.com>2018-09-12 19:19:17 -0400
commitb79f3cc96bc917d3390105ebea83770dd2934d10 (patch)
treee00586bcfc48eebbbc54e1b9bba3a4954d265f6a /activejob
parent792fead512be390fdaf219b8bf3e17aa335bd7f4 (diff)
parent64a9759aff949761f1d79b010e4817a91f3ee226 (diff)
downloadrails-b79f3cc96bc917d3390105ebea83770dd2934d10.tar.gz
rails-b79f3cc96bc917d3390105ebea83770dd2934d10.tar.bz2
rails-b79f3cc96bc917d3390105ebea83770dd2934d10.zip
Merge pull request #33849 from ricardotk002/include-helpers-action-dispatch-integration-test
Include test helpers in ActionDispatch::IntegrationTest
Diffstat (limited to 'activejob')
-rw-r--r--activejob/lib/active_job/railtie.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activejob/lib/active_job/railtie.rb b/activejob/lib/active_job/railtie.rb
index d0294854d3..ecc0908d5f 100644
--- a/activejob/lib/active_job/railtie.rb
+++ b/activejob/lib/active_job/railtie.rb
@@ -30,6 +30,10 @@ module ActiveJob
send(k, v) if respond_to? k
end
end
+
+ ActiveSupport.on_load(:action_dispatch_integration_test) do
+ include ActiveJob::TestHelper
+ end
end
initializer "active_job.set_reloader_hook" do |app|