aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/bin/test
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/bin/test')
-rwxr-xr-xactivemodel/bin/test4
1 files changed, 3 insertions, 1 deletions
diff --git a/activemodel/bin/test b/activemodel/bin/test
index 404cabba51..84a05bba08 100755
--- a/activemodel/bin/test
+++ b/activemodel/bin/test
@@ -1,4 +1,6 @@
#!/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)