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

Fix bare string Rack response bodies

This commit is contained in:
Jeremy Kemper 2009-12-23 13:06:53 -08:00
parent 808cad2bb4
commit 24e1b55608

View file

@ -178,7 +178,7 @@ class ResponseIntegrationTest < ActionDispatch::IntegrationTest
@app = lambda { |env| @app = lambda { |env|
[200, [200,
{'ETag' => '"202cb962ac59075b964b07152d234b70"', {'ETag' => '"202cb962ac59075b964b07152d234b70"',
'Cache-Control' => 'public'}, 'Hello'] 'Cache-Control' => 'public'}, ['Hello']]
} }
get '/' get '/'
@ -217,7 +217,7 @@ class ResponseIntegrationTest < ActionDispatch::IntegrationTest
@app = lambda { |env| @app = lambda { |env|
[200, [200,
{'Content-Type' => 'application/xml; charset=utf-16'}, {'Content-Type' => 'application/xml; charset=utf-16'},
'Hello'] ['Hello']]
} }
get '/' get '/'