summaryrefslogtreecommitdiffstats
path: root/test/functional/files_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/files_controller_test.rb')
-rw-r--r--test/functional/files_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/files_controller_test.rb b/test/functional/files_controller_test.rb
index 3cd0bfc01..e37cc855e 100644
--- a/test/functional/files_controller_test.rb
+++ b/test/functional/files_controller_test.rb
@@ -72,7 +72,7 @@ class FilesControllerTest < ActionController::TestCase
assert_equal Project.find(1), a.container
mail = ActionMailer::Base.deliveries.last
- assert_kind_of TMail::Mail, mail
+ assert_not_nil mail
assert_equal "[eCookbook] New file", mail.subject
assert mail.body.include?('testfile.txt')
end