summaryrefslogtreecommitdiffstats
path: root/test/unit/mailer_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-25 09:58:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-25 09:58:23 +0000
commit28503d83cbf95f36ea3b6854f4489437380e7a23 (patch)
tree8604a9be87124a589d800cf15e1a967af85f0a8d /test/unit/mailer_test.rb
parentf1b26008b89709285da067f6ccaab45876917e49 (diff)
downloadredmine-28503d83cbf95f36ea3b6854f4489437380e7a23.tar.gz
redmine-28503d83cbf95f36ea3b6854f4489437380e7a23.zip
Do not do assertions on mail class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8991 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mailer_test.rb')
-rw-r--r--test/unit/mailer_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb
index b48aef567..0dec28c3e 100644
--- a/test/unit/mailer_test.rb
+++ b/test/unit/mailer_test.rb
@@ -43,7 +43,7 @@ class MailerTest < ActiveSupport::TestCase
assert Mailer.deliver_issue_edit(journal)
mail = ActionMailer::Base.deliveries.last
- assert_kind_of TMail::Mail, mail
+ assert_not_nil mail
assert_select_email do
# link to the main ticket
@@ -73,7 +73,7 @@ class MailerTest < ActiveSupport::TestCase
assert Mailer.deliver_issue_edit(journal)
mail = ActionMailer::Base.deliveries.last
- assert_kind_of TMail::Mail, mail
+ assert_not_nil mail
assert_select_email do
# link to the main ticket
@@ -106,7 +106,7 @@ class MailerTest < ActiveSupport::TestCase
assert Mailer.deliver_issue_edit(journal)
mail = ActionMailer::Base.deliveries.last
- assert_kind_of TMail::Mail, mail
+ assert_not_nil mail
assert_select_email do
# link to the main ticket