From: Jean-Philippe Lang Date: Sat, 16 Jul 2016 06:58:48 +0000 (+0000) Subject: Accept 5 arguments. X-Git-Tag: 3.4.0~798 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=11c85279ab2a8e660666e2c0c80025e2e2513940;p=redmine.git Accept 5 arguments. git-svn-id: http://svn.redmine.org/redmine/trunk@15665 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/test_helper.rb b/test/test_helper.rb index 8b7076bf1..918832bdf 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -278,7 +278,7 @@ module Redmine end class ControllerTest < ActionController::TestCase - def process(method, path, parameters={}, options={}) + def process(method, path, parameters={}, options={}, flash={}) if parameters.key?(:params) raise ArgumentError if options.present? super method, path, parameters[:params], parameters.except(:params)