aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorutilum <oz@utilum.com>2018-06-26 12:15:02 +0200
committerutilum <oz@utilum.com>2018-06-26 12:16:23 +0200
commit09f9a7a5b6464407ab611395b2c212edd74818a8 (patch)
tree487346e82a5e0c3666e73de3157914954c763af1 /railties/Rakefile
parentcc0e84f9bfa89750ceca38db47ce5657cc373c3d (diff)
downloadrails-09f9a7a5b6464407ab611395b2c212edd74818a8.tar.gz
rails-09f9a7a5b6464407ab611395b2c212edd74818a8.tar.bz2
rails-09f9a7a5b6464407ab611395b2c212edd74818a8.zip
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.
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index 8251b2bb32..f918329df3 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -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