back out from r9031 to r9036
On Rails3, 'to_s' is not alias of 'encoded'. 'to_s' is alias of 'decoded'. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9037 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user