diff options
author | Yves Senn <yves.senn@gmail.com> | 2016-11-21 17:24:10 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2016-11-21 17:25:12 +0100 |
commit | 2b4a9735d816d3a05c7fca207d97bebcb09c95a0 (patch) | |
tree | 2bbedc390ef599a0a09e426f9b4c9777ea65d820 /tools | |
parent | bb2a832b9b063c41864c0490ca0ed6fee59eb2e4 (diff) | |
download | rails-2b4a9735d816d3a05c7fca207d97bebcb09c95a0.tar.gz rails-2b4a9735d816d3a05c7fca207d97bebcb09c95a0.tar.bz2 rails-2b4a9735d816d3a05c7fca207d97bebcb09c95a0.zip |
update bin/test scripts to prevent double runs.
The test runner was updated to make use of autorun. This caused the
`bin/test` scripts to run Minitest twice.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test.rb b/tools/test.rb index 7819c13ee2..824ee57c96 100644 --- a/tools/test.rb +++ b/tools/test.rb @@ -13,3 +13,5 @@ module Rails end Rails::TestUnitReporter.executable = "bin/test" +Minitest.run_via[:rails] = true +require "active_support/testing/autorun" |