Permalink
Browse files

unit testing for email

  • Loading branch information...
Ivan Acosta-Rubio Ivan Acosta-Rubio
Ivan Acosta-Rubio authored and Ivan Acosta-Rubio committed Jul 12, 2008
1 parent 4f4b256 commit 12d6bced0bb96dd4fd55014ff50b91e937d7e287
Showing with 1 addition and 8 deletions.
  1. +1 −8 test/unit/notifier_test.rb
@@ -1,20 +1,13 @@
require 'test/test_helper'
require 'notifier'
class NotifierTest < Test::Unit::TestCase
CHARSET = "utf-8"
include ActionMailer::Quoting
class NotifierTest < Test::Unit::TestCase
def setup
ActionMailer::Base.delivery_method = :test
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.deliveries = []
@expected = TMail::Mail.new
@expected.set_content_type "text", "plain", { "charset" => CHARSET }
end
def test_job_posted

0 comments on commit 12d6bce

Please sign in to comment.