diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2012-12-17 12:01:45 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2012-12-17 12:01:45 +0100 |
commit | b80bd744ad873f6fc43018bc4bfb90677de167bd (patch) | |
tree | 072c4b0e33d442528555b82c415f5e7a1712b2b0 /test/functional/notifications_test.rb | |
parent | 3e706c2025ecc5523e81ad649639ef2ff75e7bac (diff) |
Start of GS5.
Diffstat (limited to 'test/functional/notifications_test.rb')
-rw-r--r-- | test/functional/notifications_test.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/functional/notifications_test.rb b/test/functional/notifications_test.rb new file mode 100644 index 0000000..d84bda2 --- /dev/null +++ b/test/functional/notifications_test.rb @@ -0,0 +1,12 @@ +require 'test_helper' + +class NotificationsTest < ActionMailer::TestCase + test "new_pin" do + mail = Notifications.new_pin + assert_equal "New pin", mail.subject + assert_equal ["to@example.org"], mail.to + assert_equal ["from@example.com"], mail.from + assert_match "Hi", mail.body.encoded + end + +end |