Methods
Public Instance methods
test_cancelled_account()
    # File test/mail_service_test.rb, line 38
38:   def test_cancelled_account
39:     expected = TMail::Mail.new
40:     expected.to      = "david@loudthinking.com"
41:     expected.subject = "[Cancelled] Goodbye david@loudthinking.com"
42:     expected.body    = "Goodbye, Mr. david@loudthinking.com"
43:     expected.from    = "system@loudthinking.com"
44:     expected.date    = Time.local(2004, 12, 12)
45: 
46:     assert_equal expected.encoded, TestMailer.create_cancelled_account("david@loudthinking.com").encoded
47:   end
test_instances_are_nil()
    # File test/mail_service_test.rb, line 49
49:   def test_instances_are_nil
50:     assert_nil ActionMailer::Base.new
51:     assert_nil TestMailer.new
52:   end
test_signed_up()
    # File test/mail_service_test.rb, line 27
27:   def test_signed_up
28:     expected = TMail::Mail.new
29:     expected.to      = "david@loudthinking.com"
30:     expected.subject = "[Signed up] Welcome david@loudthinking.com"
31:     expected.body    = "Hello there, \n\nMr. david@loudthinking.com"
32:     expected.from    = "system@loudthinking.com"
33:     expected.date    = Time.local(2004, 12, 12)
34: 
35:     assert_equal expected.encoded, TestMailer.create_signed_up("david@loudthinking.com").encoded
36:   end