From 2a301505ece91b1bf317c6627aaba7ec0cea43e9 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 16 Sep 2012 18:30:23 -0700 Subject: 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). --- actionmailer/test/mailers/async_mailer.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionmailer/test/mailers') 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 -- cgit v1.2.3