aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/test_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-04-24 04:12:11 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-04-24 04:12:11 +0000
commit38d574c6a32ee245f6b5c51a6ca4832ea35fbae8 (patch)
tree4e95592291c926471870f467dcdd69abbfc3cb94 /actionpack/test/controller/test_test.rb
parentf86ff9fd525a25198d9c181ca496f000d9537075 (diff)
downloadrails-38d574c6a32ee245f6b5c51a6ca4832ea35fbae8.tar.gz
rails-38d574c6a32ee245f6b5c51a6ca4832ea35fbae8.tar.bz2
rails-38d574c6a32ee245f6b5c51a6ca4832ea35fbae8.zip
Expect string response body.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/test_test.rb')
-rw-r--r--actionpack/test/controller/test_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/test_test.rb b/actionpack/test/controller/test_test.rb
index e2f78ad30c..ec30f0ac8b 100644
--- a/actionpack/test/controller/test_test.rb
+++ b/actionpack/test/controller/test_test.rb
@@ -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