aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/bin/test
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/bin/test')
-rwxr-xr-xactiverecord/bin/test5
1 files changed, 2 insertions, 3 deletions
diff --git a/activerecord/bin/test b/activerecord/bin/test
index 23add35d45..83c192531e 100755
--- a/activerecord/bin/test
+++ b/activerecord/bin/test
@@ -1,7 +1,8 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
COMPONENT_ROOT = File.expand_path("..", __dir__)
-require File.expand_path("../tools/test", COMPONENT_ROOT)
+require_relative "../../tools/test"
module Minitest
def self.plugin_active_record_options(opts, options)
@@ -17,5 +18,3 @@ module Minitest
end
Minitest.extensions.unshift "active_record"
-
-exit Minitest.run(ARGV)