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:
parent
808cad2bb4
commit
24e1b55608
1 changed files with 2 additions and 2 deletions
|
@ -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 '/'
|
||||||
|
|
Loading…
Reference in a new issue