aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-02-08 18:24:50 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-02-18 09:49:57 +0900
commitf38a660a60ecc5e2f0e0f91e07a18344598cff5e (patch)
treea4f5d33200bef6c1f5c6e964aed054c02c19381a /tools
parent25c6f4c947450c75c5a43ded19d7b6ca8b7c95b6 (diff)
downloadrails-f38a660a60ecc5e2f0e0f91e07a18344598cff5e.tar.gz
rails-f38a660a60ecc5e2f0e0f91e07a18344598cff5e.tar.bz2
rails-f38a660a60ecc5e2f0e0f91e07a18344598cff5e.zip
Prevent multiple values being set to `run_via`
When executing the test via rake, since `rake` is set for `run_via`, `ruby` should not be set. Related 2cb6c27310452da11b93d729c3b760ce988106e1
Diffstat (limited to 'tools')
-rw-r--r--tools/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.rb b/tools/test.rb
index ce546b382d..71349a5974 100644
--- a/tools/test.rb
+++ b/tools/test.rb
@@ -16,5 +16,5 @@ end
ActiveSupport::TestCase.extend Rails::LineFiltering
Rails::TestUnitReporter.executable = "bin/test"
-Minitest.run_via[:rails] = true
+Minitest.run_via = :rails
require "active_support/testing/autorun"