Skip to content
This repository
Browse code

Some final syntax fixes

  • Loading branch information...
commit 35717a9370e4d0ee312aa591bc2674004cfbadba 1 parent a11fcd9
Brian Cardarella authored June 24, 2012
2  actionmailer/lib/action_mailer/async.rb
@@ -32,7 +32,7 @@ def run
32 32
     end
33 33
 
34 34
     # Will push the message onto the Queue to be processed
35  
-    def deliver(force = false)
  35
+    def deliver
36 36
       @queue << self
37 37
     end
38 38
   end
3  actionmailer/test/base_test.rb
@@ -8,7 +8,6 @@
8 8
 require 'mailers/proc_mailer'
9 9
 require 'mailers/asset_mailer'
10 10
 require 'mailers/async_mailer'
11  
-
12 11
 require 'rails/queueing'
13 12
 
14 13
 class BaseTest < ActiveSupport::TestCase
@@ -422,7 +421,7 @@ def teardown
422 421
     assert_equal(1, BaseMailer.deliveries.length)
423 422
   end
424 423
 
425  
-  def stub_queue klass, queue
  424
+  def stub_queue(klass, queue)
426 425
     Class.new(klass) {
427 426
       extend Module.new {
428 427
         define_method :queue do

0 notes on commit 35717a9

Please sign in to comment.
Something went wrong with that request. Please try again.