aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base/render_body_test.rb
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2014-07-10 19:38:20 -0400
committerGuillermo Iguaran <guilleiguaran@gmail.com>2014-07-10 19:38:20 -0400
commit0d676d154547b7c8f1c5ba03c9d2e51c089d7732 (patch)
treeb7fd3b8f210a9a503d2f9791625f63a183597797 /actionpack/test/controller/new_base/render_body_test.rb
parent6e76031e8f1f815b390f966cb21e25c66e5ded50 (diff)
parent013c74d645a5842ce35857e4f14af7fc9961c54d (diff)
downloadrails-0d676d154547b7c8f1c5ba03c9d2e51c089d7732.tar.gz
rails-0d676d154547b7c8f1c5ba03c9d2e51c089d7732.tar.bz2
rails-0d676d154547b7c8f1c5ba03c9d2e51c089d7732.zip
Merge pull request #14883 from chancancode/rm-single-space
Removed the single space character for Safari
Diffstat (limited to 'actionpack/test/controller/new_base/render_body_test.rb')
-rw-r--r--actionpack/test/controller/new_base/render_body_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/controller/new_base/render_body_test.rb b/actionpack/test/controller/new_base/render_body_test.rb
index fad848349a..f4a3db8b41 100644
--- a/actionpack/test/controller/new_base/render_body_test.rb
+++ b/actionpack/test/controller/new_base/render_body_test.rb
@@ -111,17 +111,17 @@ module RenderBody
assert_status 404
end
- test "rendering body with nil returns an empty body padded for Safari" do
+ test "rendering body with nil returns an empty body" do
get "/render_body/with_layout/with_nil"
- assert_body " "
+ assert_body ""
assert_status 200
end
- test "Rendering body with nil and custom status code returns an empty body padded for Safari and the status" do
+ test "Rendering body with nil and custom status code returns an empty body and the status" do
get "/render_body/with_layout/with_nil_and_status"
- assert_body " "
+ assert_body ""
assert_status 403
end