diff options
Diffstat (limited to 'test/functional/files_controller_test.rb')
-rw-r--r-- | test/functional/files_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/files_controller_test.rb b/test/functional/files_controller_test.rb index e37cc855e..d05557990 100644 --- a/test/functional/files_controller_test.rb +++ b/test/functional/files_controller_test.rb @@ -74,7 +74,7 @@ class FilesControllerTest < ActionController::TestCase mail = ActionMailer::Base.deliveries.last assert_not_nil mail assert_equal "[eCookbook] New file", mail.subject - assert mail.body.include?('testfile.txt') + assert_mail_body_match 'testfile.txt', mail end def test_create_version_file |