summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-16 06:58:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-16 06:58:48 +0000
commit11c85279ab2a8e660666e2c0c80025e2e2513940 (patch)
tree9748513c239f3a94f1388736784abf88b04bf9c3 /test/test_helper.rb
parentc364e6ee9b2efd7749bf6b0ba10b201e786c8797 (diff)
downloadredmine-11c85279ab2a8e660666e2c0c80025e2e2513940.tar.gz
redmine-11c85279ab2a8e660666e2c0c80025e2e2513940.zip
Accept 5 arguments.
git-svn-id: http://svn.redmine.org/redmine/trunk@15665 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
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)