mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Require extensions in lib/testing.rb
This commit is contained in:
parent
9988afc207
commit
ee65b5365e
1 changed files with 2 additions and 2 deletions
|
@ -333,8 +333,8 @@ module Sidekiq
|
|||
end
|
||||
end
|
||||
|
||||
Sidekiq::Extensions::DelayedMailer.extend(TestingExtensions)
|
||||
Sidekiq::Extensions::DelayedModel.extend(TestingExtensions)
|
||||
Sidekiq::Extensions::DelayedMailer.extend(TestingExtensions) if defined?(Sidekiq::Extensions::DelayedMailer)
|
||||
Sidekiq::Extensions::DelayedModel.extend(TestingExtensions) if defined?(Sidekiq::Extensions::DelayedModel)
|
||||
end
|
||||
|
||||
if defined?(::Rails) && Rails.respond_to?(:env) && !Rails.env.test?
|
||||
|
|
Loading…
Add table
Reference in a new issue