Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Some final syntax fixes

  • Loading branch information...
commit 35717a9370e4d0ee312aa591bc2674004cfbadba 1 parent a11fcd9
@bcardarella bcardarella authored
View
2  actionmailer/lib/action_mailer/async.rb
@@ -32,7 +32,7 @@ def run
end
# Will push the message onto the Queue to be processed
- def deliver(force = false)
+ def deliver
@queue << self
end
end
View
3  actionmailer/test/base_test.rb
@@ -8,7 +8,6 @@
require 'mailers/proc_mailer'
require 'mailers/asset_mailer'
require 'mailers/async_mailer'
-
require 'rails/queueing'
class BaseTest < ActiveSupport::TestCase
@@ -422,7 +421,7 @@ def teardown
assert_equal(1, BaseMailer.deliveries.length)
end
- def stub_queue klass, queue
+ def stub_queue(klass, queue)
Class.new(klass) {
extend Module.new {
define_method :queue do
Please sign in to comment.
Something went wrong with that request. Please try again.