diff options
author | Matthew Draper <matthew@trebex.net> | 2017-06-15 02:45:38 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 02:45:38 +0930 |
commit | 4915bfeeea88889341153cad9166090c2d6b1910 (patch) | |
tree | 926d5c944b8fd71c1fa2db6ddbc5fc397722112e /actionview/bin/test | |
parent | 326914dd3a15e04851c9ef4a47edeb3dad2ec381 (diff) | |
parent | 6673cf7071094e87d473459452a2d0e4c2ccfebe (diff) | |
download | rails-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-x | actionview/bin/test | 2 |
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" |