aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-02-20 22:20:14 +0100
committerGitHub <noreply@github.com>2017-02-20 22:20:14 +0100
commitff326e745614593530ee64b67ac21bf14e3d41b3 (patch)
tree8974d1f3a6fd4edde32865e9b37f30056e826c40 /tools
parent507c9970ab2d9e8296d605bc94843e2aa62aa5fd (diff)
parentf38a660a60ecc5e2f0e0f91e07a18344598cff5e (diff)
downloadrails-ff326e745614593530ee64b67ac21bf14e3d41b3.tar.gz
rails-ff326e745614593530ee64b67ac21bf14e3d41b3.tar.bz2
rails-ff326e745614593530ee64b67ac21bf14e3d41b3.zip
Merge pull request #27941 from y-yagi/prevent_multiple_values_being_set_to_run_via
Prevent multiple values being set to `run_via`
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"