Browse Source

Accept 5 arguments.

git-svn-id: http://svn.redmine.org/redmine/trunk@15665 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.4.0
Jean-Philippe Lang 8 years ago
parent
commit
11c85279ab
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test/test_helper.rb

+ 1
- 1
test/test_helper.rb View File

end end


class ControllerTest < ActionController::TestCase class ControllerTest < ActionController::TestCase
def process(method, path, parameters={}, options={})
def process(method, path, parameters={}, options={}, flash={})
if parameters.key?(:params) if parameters.key?(:params)
raise ArgumentError if options.present? raise ArgumentError if options.present?
super method, path, parameters[:params], parameters.except(:params) super method, path, parameters[:params], parameters.except(:params)

Loading…
Cancel
Save