diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2015-05-28 09:23:51 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2015-05-28 09:23:51 -0300 |
commit | 172e452e0a0147701d08b85573fbabe22f2d9274 (patch) | |
tree | df1d43df102bb584ac8a10891cb546862516b403 /actionpack/test/controller/test_case_test.rb | |
parent | 207f8fc7debec1e9173f797e5208527e97235af3 (diff) | |
parent | 44781b6e9790d90b4f8b9a41d2b2c114b1a582ee (diff) | |
download | rails-172e452e0a0147701d08b85573fbabe22f2d9274.tar.gz rails-172e452e0a0147701d08b85573fbabe22f2d9274.tar.bz2 rails-172e452e0a0147701d08b85573fbabe22f2d9274.zip |
Merge pull request #20336 from vngrs/deprecate_nothing_option_for_render_method
Deprecate `:nothing` option for render method
Diffstat (limited to 'actionpack/test/controller/test_case_test.rb')
-rw-r--r-- | actionpack/test/controller/test_case_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb index 37f27c5d36..fbfc891d19 100644 --- a/actionpack/test/controller/test_case_test.rb +++ b/actionpack/test/controller/test_case_test.rb @@ -137,13 +137,13 @@ XML def delete_cookie cookies.delete("foo") - render nothing: true + head :ok end def test_assigns @foo = "foo" @foo_hash = { foo: :bar } - render nothing: true + head :ok end def test_without_body @@ -177,7 +177,7 @@ XML class ViewAssignsController < ActionController::Base def test_assigns @foo = "foo" - render nothing: true + head :ok end def view_assigns |