From d318af93c5b34f8f9c2b6f67fffce01f3f47a750 Mon Sep 17 00:00:00 2001 From: Pedro Chambino Date: Tue, 2 Feb 2021 11:50:54 +0000 Subject: [PATCH] Add missing require to ActiveJob::TestHelper Following PR #40780, it now fails after requiring active_job: irb(main):001:0> require 'active_job' => true irb(main):002:0> ActiveJob::VERSION::STRING => "6.1.1" irb(main):003:0> ActiveJob::TestHelper [redacted] NameError (uninitialized constant ActiveSupport::Testing) --- activejob/lib/active_job/test_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/activejob/lib/active_job/test_helper.rb b/activejob/lib/active_job/test_helper.rb index 5d28dba9c02b8..2d71ac96b61f3 100644 --- a/activejob/lib/active_job/test_helper.rb +++ b/activejob/lib/active_job/test_helper.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require "active_support/core_ext/class/subclasses" +require "active_support/testing/assertions" module ActiveJob # Provides helper methods for testing Active Job