aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/bin/test
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-06-15 02:45:38 +0930
committerGitHub <noreply@github.com>2017-06-15 02:45:38 +0930
commit4915bfeeea88889341153cad9166090c2d6b1910 (patch)
tree926d5c944b8fd71c1fa2db6ddbc5fc397722112e /actionview/bin/test
parent326914dd3a15e04851c9ef4a47edeb3dad2ec381 (diff)
parent6673cf7071094e87d473459452a2d0e4c2ccfebe (diff)
downloadrails-4915bfeeea88889341153cad9166090c2d6b1910.tar.gz
rails-4915bfeeea88889341153cad9166090c2d6b1910.tar.bz2
rails-4915bfeeea88889341153cad9166090c2d6b1910.zip
Merge pull request #29417 from bogdanvlviv/use-require_relative-instead-of_require-with-full-path
Use `require_relative` instead of `require` with full path
Diffstat (limited to 'actionview/bin/test')
-rwxr-xr-xactionview/bin/test2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/bin/test b/actionview/bin/test
index a7beb14b27..470ce93f10 100755
--- a/actionview/bin/test
+++ b/actionview/bin/test
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
COMPONENT_ROOT = File.expand_path("..", __dir__)
-require File.expand_path("../tools/test", COMPONENT_ROOT)
+require_relative "../../tools/test"