mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Enable TESTOPTS in railties tests
Unlike the other components' test suites, railties' currently ignores such useful options as `"--verbose"` or `"--name"`. This patch allows us to use them.
This commit is contained in:
parent
cc0e84f9bf
commit
09f9a7a5b6
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ namespace :test do
|
|||
# We could run these in parallel, but pretty much all of the
|
||||
# railties tests already run in parallel, so ¯\_(⊙︿⊙)_/¯
|
||||
Process.waitpid fork {
|
||||
ARGV.clear
|
||||
ARGV.clear.push ENV["TESTOPTS"]
|
||||
Rake.application = nil
|
||||
|
||||
load file
|
||||
|
|
Loading…
Reference in a new issue