diff options
author | Go MAEDA <maeda@farend.jp> | 2023-01-01 07:13:39 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-01-01 07:13:39 +0000 |
commit | 1481c721a222ccf05a43ae98d1cf7730314a13d5 (patch) | |
tree | 7ffacec036458fd198e7cbf6f5ae72d7cc7eca3e /extra | |
parent | 92bd67c279516f339866e95c702b39cee325ef05 (diff) | |
download | redmine-1481c721a222ccf05a43ae98d1cf7730314a13d5.tar.gz redmine-1481c721a222ccf05a43ae98d1cf7730314a13d5.zip |
Use `require_relative` instead of `require File.expand_path(..., __FILE__)` (#38093).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r-- | extra/sample_plugin/test/integration/routing_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/sample_plugin/test/integration/routing_test.rb b/extra/sample_plugin/test/integration/routing_test.rb index 50ad4603f..916fbd2c3 100644 --- a/extra/sample_plugin/test/integration/routing_test.rb +++ b/extra/sample_plugin/test/integration/routing_test.rb @@ -1,4 +1,4 @@ -require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper') +require_relative '../../../../test/test_helper' class SamplePluginRoutingTest < ActionDispatch::IntegrationTest def test_example |