aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index d79b36f94..516ad998c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -72,9 +72,9 @@ if $tempfilecount.nil?
# Hook into the process function, so can automatically get HTML after each request
alias :original_process :process
- def process(action, parameters = nil, session = nil, flash = nil)
+ def process(action, parameters = nil, session = nil, flash = nil, http_method = 'GET')
# Call original process function
- self.original_process(action, parameters, session, flash)
+ self.original_process(action, parameters, session, flash, http_method)
# XXX Is there a better way to check this than calling a private method?
return unless @response.template.controller.instance_eval { integrate_views? }