aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/mail_helper_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionmailer/test/mail_helper_test.rb')
-rw-r--r--actionmailer/test/mail_helper_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionmailer/test/mail_helper_test.rb b/actionmailer/test/mail_helper_test.rb
index 19f3707db8..344dcd7c49 100644
--- a/actionmailer/test/mail_helper_test.rb
+++ b/actionmailer/test/mail_helper_test.rb
@@ -8,7 +8,7 @@ end
class HelperMailer < ActionMailer::Base
helper MailerHelper
- helper :test
+ helper :example
def use_helper(recipient)
recipients recipient
@@ -16,7 +16,7 @@ class HelperMailer < ActionMailer::Base
from "tester@example.com"
end
- def use_test_helper(recipient)
+ def use_example_helper(recipient)
recipients recipient
subject "using helpers"
from "tester@example.com"
@@ -72,8 +72,8 @@ class MailerHelperTest < Test::Unit::TestCase
assert_match %r{Mr. Joe Person}, mail.encoded
end
- def test_use_test_helper
- mail = HelperMailer.create_use_test_helper(@recipient)
+ def test_use_example_helper
+ mail = HelperMailer.create_use_example_helper(@recipient)
assert_match %r{<em><strong><small>emphasize me!}, mail.encoded
end