Methods
Public Instance methods
[ show source ]
# File test/mail_helper_test.rb, line 17
17: def use_helper(recipient)
18: recipients recipient
19: subject "using helpers"
20: from "tester@example.com"
21: end
[ show source ]
# File test/mail_helper_test.rb, line 44
44: def use_helper_method(recipient)
45: recipients recipient
46: subject "using helpers"
47: from "tester@example.com"
48: self.body = { :text => "emphasize me!" }
49: end
[ show source ]
# File test/mail_helper_test.rb, line 30
30: def use_mail_helper(recipient)
31: recipients recipient
32: subject "using mailing helpers"
33: from "tester@example.com"
34: self.body = { :text =>
35: "But soft! What light through yonder window breaks? It is the east, " +
36: "and Juliet is the sun. Arise, fair sun, and kill the envious moon, " +
37: "which is sick and pale with grief that thou, her maid, art far more " +
38: "fair than she. Be not her maid, for she is envious! Her vestal " +
39: "livery is but sick and green, and none but fools do wear it. Cast " +
40: "it off!"
41: }
42: end
[ show source ]
# File test/mail_helper_test.rb, line 23
23: def use_test_helper(recipient)
24: recipients recipient
25: subject "using helpers"
26: from "tester@example.com"
27: self.body = { :text => "emphasize me!" }
28: end
Private Instance methods
[ show source ]
# File test/mail_helper_test.rb, line 53
53: def name_of_the_mailer_class
54: self.class.name
55: end