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
1 changed files with 2 additions and 2 deletions

View File

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