From 38d574c6a32ee245f6b5c51a6ca4832ea35fbae8 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 24 Apr 2007 04:12:11 +0000 Subject: Expect string response body. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/controller/test_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 -- cgit v1.2.3