@@ -74,7 +74,7 class FilesControllerTest < ActionController::TestCase | |||
|
74 | 74 | mail = ActionMailer::Base.deliveries.last |
|
75 | 75 | assert_not_nil mail |
|
76 | 76 | assert_equal "[eCookbook] New file", mail.subject |
|
77 | assert mail.body.include?('testfile.txt') | |
|
77 | assert mail.body.to_s.include?('testfile.txt') | |
|
78 | 78 | end |
|
79 | 79 | |
|
80 | 80 | def test_create_version_file |
General Comments 0
You need to be logged in to leave comments.
Login now