aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/bin/test
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/bin/test')
-rwxr-xr-xactivemodel/bin/test5
1 files changed, 2 insertions, 3 deletions
diff --git a/activemodel/bin/test b/activemodel/bin/test
index 84a05bba08..c53377cc97 100755
--- a/activemodel/bin/test
+++ b/activemodel/bin/test
@@ -1,6 +1,5 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
COMPONENT_ROOT = File.expand_path("..", __dir__)
-require File.expand_path("../tools/test", COMPONENT_ROOT)
-
-exit Minitest.run(ARGV)
+require_relative "../../tools/test"