mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #17331 from vipulnsward/activejob-cleanups
Activejob cleanups
This commit is contained in:
commit
f1e1894101
3 changed files with 1 additions and 4 deletions
|
@ -33,7 +33,7 @@ class AdapterTest < ActiveSupport::TestCase
|
|||
def teardown
|
||||
super
|
||||
ActiveJob::Logging::LogSubscriber.log_subscribers.pop
|
||||
ActiveJob::Base.logger = @old_logger
|
||||
set_logger @old_logger
|
||||
end
|
||||
|
||||
def set_logger(logger)
|
||||
|
|
|
@ -2,8 +2,6 @@ require 'helper'
|
|||
require 'jobs/rescue_job'
|
||||
require 'models/person'
|
||||
|
||||
require 'active_support/core_ext/object/inclusion'
|
||||
|
||||
class RescueTest < ActiveSupport::TestCase
|
||||
setup do
|
||||
JobBuffer.clear
|
||||
|
|
|
@ -26,5 +26,4 @@ end
|
|||
|
||||
require 'active_support/testing/autorun'
|
||||
|
||||
ActiveJob::Base.logger.level = Logger::DEBUG
|
||||
ActiveSupport::TestCase.test_order = :random
|
||||
|
|
Loading…
Reference in a new issue