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 08fbdf365..e37cc855e 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.to_s.include?('testfile.txt')
+ assert mail.body.include?('testfile.txt')
end
def test_create_version_file