aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-05-21 20:22:18 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-05-21 20:27:24 -0700
commit4c52ba278b8e349bc18cb89086af765d0828f0af (patch)
tree5b06e9a44f696f009c350281891062643620e00c /actionpack/test/new_base
parent8f3cbb477375071cfa2ca9b3b01d8a4e3034ccf5 (diff)
downloadrails-4c52ba278b8e349bc18cb89086af765d0828f0af.tar.gz
rails-4c52ba278b8e349bc18cb89086af765d0828f0af.tar.bz2
rails-4c52ba278b8e349bc18cb89086af765d0828f0af.zip
Move Safari response-padding fix to Rails2Compatibility. Should be a Rack concern.
Diffstat (limited to 'actionpack/test/new_base')
-rw-r--r--actionpack/test/new_base/render_text_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/new_base/render_text_test.rb b/actionpack/test/new_base/render_text_test.rb
index 69594e4b64..aed903ee8a 100644
--- a/actionpack/test/new_base/render_text_test.rb
+++ b/actionpack/test/new_base/render_text_test.rb
@@ -88,14 +88,14 @@ module RenderText
assert_status 404
end
- test "rendering text with nil returns a single space character" do
+ test "rendering text with nil returns an empty body padded for Safari" do
get "/render_text/with_layout/with_nil"
assert_body " "
assert_status 200
end
- test "Rendering text with nil and custom status code returns a single space character with the status" do
+ test "Rendering text with nil and custom status code returns an empty body padded for Safari and the status" do
get "/render_text/with_layout/with_nil_and_status"
assert_body " "
@@ -139,4 +139,4 @@ module RenderText
end
end
-ActionController::Base.app_loaded! \ No newline at end of file
+ActionController::Base.app_loaded!