aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/log_subscriber_test.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2015-06-16 07:45:23 +0930
committerMatthew Draper <matthew@trebex.net>2015-06-16 07:45:23 +0930
commit57941f01d52b7d2286629c3e04cbee23006584ff (patch)
tree437b260e63ce6607241a418de0bc82d0f6262585 /actionpack/test/controller/log_subscriber_test.rb
parente08d8c5b4ab8b2135c724dcf7a4c3bbd47978d0a (diff)
parentcf81a3bae0c8db0d37a48e78179baa9bdd1af3ea (diff)
downloadrails-57941f01d52b7d2286629c3e04cbee23006584ff.tar.gz
rails-57941f01d52b7d2286629c3e04cbee23006584ff.tar.bz2
rails-57941f01d52b7d2286629c3e04cbee23006584ff.zip
Merge pull request #20407 from vngrs/deprecate_implicit_status_for_head_method
Deprecate passing hash as first parameter into ActionController::Head
Diffstat (limited to 'actionpack/test/controller/log_subscriber_test.rb')
-rw-r--r--actionpack/test/controller/log_subscriber_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/log_subscriber_test.rb b/actionpack/test/controller/log_subscriber_test.rb
index ccbf336acf..7835d2768a 100644
--- a/actionpack/test/controller/log_subscriber_test.rb
+++ b/actionpack/test/controller/log_subscriber_test.rb
@@ -10,7 +10,7 @@ module Another
end
rescue_from SpecialException do
- head :status => 406
+ head 406
end
before_action :redirector, only: :never_executed