1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove unused fork arg for rails

This commit is contained in:
yuuji.yaginuma 2017-09-08 06:56:20 +09:00
parent 241d6a596a
commit 39f3ab51e9

View file

@ -243,11 +243,9 @@ module TestHelpers
# stderr:: true to pass STDERR output straight to the "real" STDERR.
# By default, the STDERR and STDOUT of the process will be
# combined in the returned string.
# fork:: false to not use fork even when it's available. By default,
# when possible, the command is executed in a fork of the current
# process, avoiding the need to load core Rails libraries anew.
def rails(*args, allow_failure: false, stderr: false, fork: true)
def rails(*args, allow_failure: false, stderr: false)
args = args.flatten
fork = true
command = "bin/rails #{Shellwords.join args}#{' 2>&1' unless stderr}"