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