diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-09-16 18:30:23 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-09-16 22:37:47 -0700 |
commit | 2a301505ece91b1bf317c6627aaba7ec0cea43e9 (patch) | |
tree | ca01f2d6bf360fe884721ee48a19f3b2a2aaed1c /actionmailer/test/mailers | |
parent | b881be7331339d7eab50ccf0512de3ab4e49a896 (diff) | |
download | rails-2a301505ece91b1bf317c6627aaba7ec0cea43e9.tar.gz rails-2a301505ece91b1bf317c6627aaba7ec0cea43e9.tar.bz2 rails-2a301505ece91b1bf317c6627aaba7ec0cea43e9.zip |
Use synchronous queue by default. Separate queued message delivery jobs from the queued message wrappers so the queue itself needn't be marshaled (due to queue reference QueuedMessage).
Diffstat (limited to 'actionmailer/test/mailers')
-rw-r--r-- | actionmailer/test/mailers/async_mailer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionmailer/test/mailers/async_mailer.rb b/actionmailer/test/mailers/async_mailer.rb index 8a87e2e1cf..c21a464f38 100644 --- a/actionmailer/test/mailers/async_mailer.rb +++ b/actionmailer/test/mailers/async_mailer.rb @@ -1,2 +1,3 @@ class AsyncMailer < BaseMailer + self.queue = ActiveSupport::TestQueue.new end |