aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-05-21 09:25:28 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-09 23:58:24 -0300
commit57e1c99a280bdc1b324936a690350320a1cd8111 (patch)
tree64c0260bea1246f35a11c2125f6eaff3717d26a0 /actionpack/test/controller
parent333bfd896e87862cece95deb1ef88132d5f54ba8 (diff)
downloadrails-57e1c99a280bdc1b324936a690350320a1cd8111.tar.gz
rails-57e1c99a280bdc1b324936a690350320a1cd8111.tar.bz2
rails-57e1c99a280bdc1b324936a690350320a1cd8111.zip
Remove deprecated support to :nothing in render
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/render_test.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb
index cc4fe5c6b4..76139d59e2 100644
--- a/actionpack/test/controller/render_test.rb
+++ b/actionpack/test/controller/render_test.rb
@@ -160,10 +160,6 @@ class TestController < ActionController::Base
render action: "hello_world"
end
- def respond_with_empty_body
- render nothing: true
- end
-
def conditional_hello_with_bangs
render action: "hello_world"
end
@@ -371,12 +367,6 @@ class ExpiresInRenderTest < ActionController::TestCase
assert_match(/no-transform/, @response.headers["Cache-Control"])
end
- def test_render_nothing_deprecated
- assert_deprecated do
- get :respond_with_empty_body
- end
- end
-
def test_date_header_when_expires_in
time = Time.mktime(2011,10,30)
Time.stub :now, time do