spec/helper.rb in delayed_job-4.0.0 vs spec/helper.rb in delayed_job-4.0.1
- old
+ new
@@ -24,10 +24,10 @@
# Add this directory so the ActiveSupport autoloading works
ActiveSupport::Dependencies.autoload_paths << File.dirname(__FILE__)
# Add this to simulate Railtie initializer being executed
-ActionMailer::Base.send(:extend, Delayed::DelayMail)
+ActionMailer::Base.extend(Delayed::DelayMail)
# Used to test interactions between DJ and an ORM
ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => ':memory:'
ActiveRecord::Base.logger = Delayed::Worker.logger