From e4cf71bf7a8be80ad4624ae3d21f5646e21cfe21 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Fri, 7 Apr 2017 21:58:08 +0900 Subject: Remove duplicated `delivery_method` definition `ActionMailer::Base.delivery_method` is already defined in https://github.com/rails/rails/blob/master/actionmailer/test/parameterized_test.rb#L13 --- actionmailer/test/parameterized_test.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/actionmailer/test/parameterized_test.rb b/actionmailer/test/parameterized_test.rb index 914ed12312..e988fffcb9 100644 --- a/actionmailer/test/parameterized_test.rb +++ b/actionmailer/test/parameterized_test.rb @@ -14,7 +14,6 @@ class ParameterizedTest < ActiveSupport::TestCase @previous_deliver_later_queue_name = ActionMailer::Base.deliver_later_queue_name ActionMailer::Base.deliver_later_queue_name = :test_queue - ActionMailer::Base.delivery_method = :test @mail = ParamsMailer.with(inviter: "david@basecamp.com", invitee: "jason@basecamp.com").invitation end -- cgit v1.2.3