aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/bin/test
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/bin/test')
-rwxr-xr-xactivesupport/bin/test4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/bin/test b/activesupport/bin/test
index 404cabba51..a7beb14b27 100755
--- a/activesupport/bin/test
+++ b/activesupport/bin/test
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-COMPONENT_ROOT = File.expand_path("../../", __FILE__)
+
+COMPONENT_ROOT = File.expand_path("..", __dir__)
require File.expand_path("../tools/test", COMPONENT_ROOT)
-exit Minitest.run(ARGV)