diff options
Diffstat (limited to 'actionmailer/test/base_test.rb')
-rw-r--r-- | actionmailer/test/base_test.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/actionmailer/test/base_test.rb b/actionmailer/test/base_test.rb index cc7b90d7a4..5b0566a131 100644 --- a/actionmailer/test/base_test.rb +++ b/actionmailer/test/base_test.rb @@ -732,9 +732,9 @@ class BaseTest < ActiveSupport::TestCase def welcome ; mail ; end private - def add_special_header! - headers("X-Special-Header" => "Wow, so special") - end + def add_special_header! + headers("X-Special-Header" => "Wow, so special") + end end assert_equal("Wow, so special", BeforeActionMailer.welcome["X-Special-Header"].to_s) @@ -747,9 +747,9 @@ class BaseTest < ActiveSupport::TestCase def welcome ; mail ; end private - def add_special_header! - headers("X-Special-Header" => "Testing") - end + def add_special_header! + headers("X-Special-Header" => "Testing") + end end assert_equal("Testing", AfterActionMailer.welcome["X-Special-Header"].to_s) @@ -762,9 +762,9 @@ class BaseTest < ActiveSupport::TestCase def welcome ; mail ; end private - def add_inline_attachment! - attachments.inline["footer.jpg"] = "hey there" - end + def add_inline_attachment! + attachments.inline["footer.jpg"] = "hey there" + end end mail = DefaultInlineAttachmentMailer.welcome |