##// END OF EJS Templates
Rails3: test: add .to_s for mail's bodies check at functional/files_controller_test.rb...
Toshi MARUYAMA -
r8911:12ba0ba1c552
parent child
Show More
@@ -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