aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-10 01:47:07 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-10 02:00:20 -0300
commit30f9af9c092c57c7aca187a9f8c87d58661e8fa8 (patch)
treedf8b494cacd89981d6af88c0674b0c9cd902fe28 /actionpack/lib/action_controller
parent2babe0ac45e29ba56a36dd9e6e70431993546f46 (diff)
downloadrails-30f9af9c092c57c7aca187a9f8c87d58661e8fa8.tar.gz
rails-30f9af9c092c57c7aca187a9f8c87d58661e8fa8.tar.bz2
rails-30f9af9c092c57c7aca187a9f8c87d58661e8fa8.zip
Fix ActionController::TestCase::Behavior.head
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/test_case.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index d09d3d844b..62770813bd 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -403,7 +403,7 @@ module ActionController
# Executes a request simulating HEAD HTTP method and set/volley the response
def head(action, parameters = nil, session = nil, flash = nil)
- process(action, parameters, session, flash, "HEAD")
+ process(action, "HEAD", parameters, session, flash)
end
def xml_http_request(request_method, action, parameters = nil, session = nil, flash = nil)