1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Expect string response body.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2007-04-24 04:12:11 +00:00
parent f86ff9fd52
commit 38d574c6a3

View file

@ -429,7 +429,7 @@ HTML
def test_fixture_file_upload
post :test_file_upload, :file => fixture_file_upload(FILES_DIR + "/mona_lisa.jpg", "image/jpg")
assert_equal 159528, @response.body
assert_equal '159528', @response.body
end
def test_test_uploaded_file_exception_when_file_doesnt_exist