Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 6559

Show
Ignore:
Timestamp:
04/24/07 04:12:11 (1 year ago)
Author:
bitsweat
Message:

Expect string response body.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/test/controller/test_test.rb

    r6412 r6559  
    430430  def test_fixture_file_upload 
    431431    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 
    433433  end 
    434434