From 2b4a9735d816d3a05c7fca207d97bebcb09c95a0 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Mon, 21 Nov 2016 17:24:10 +0100 Subject: 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. --- tools/test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') 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" -- cgit v1.2.3