Skip to content
This repository
Browse code

Expect string response body.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 38d574c6a32ee245f6b5c51a6ca4832ea35fbae8 1 parent f86ff9f
Jeremy Kemper jeremy authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionpack/test/controller/test_test.rb
2  actionpack/test/controller/test_test.rb
@@ -429,7 +429,7 @@ def test_test_uploaded_file
429 429
430 430 def test_fixture_file_upload
431 431 post :test_file_upload, :file => fixture_file_upload(FILES_DIR + "/mona_lisa.jpg", "image/jpg")
432   - assert_equal 159528, @response.body
  432 + assert_equal '159528', @response.body
433 433 end
434 434
435 435 def test_test_uploaded_file_exception_when_file_doesnt_exist

0 comments on commit 38d574c

Please sign in to comment.
Something went wrong with that request. Please try again.