summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_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/repository_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/repository_test.rb')
-rw-r--r--test/unit/repository_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb
index 18a369a0f..9d31f0048 100644
--- a/test/unit/repository_test.rb
+++ b/test/unit/repository_test.rb
@@ -173,7 +173,7 @@ class RepositoryTest < ActiveSupport::TestCase
# 2 email notifications
assert_equal 2, ActionMailer::Base.deliveries.size
mail = ActionMailer::Base.deliveries.first
- assert_kind_of TMail::Mail, mail
+ assert_not_nil mail
assert mail.subject.starts_with?(
"[#{fixed_issue.project.name} - #{fixed_issue.tracker.name} ##{fixed_issue.id}]")
assert mail.body.include?(