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
This commit is contained in:
Go MAEDA
2023-01-01 07:13:39 +00:00
parent 92bd67c279
commit 1481c721a2
346 changed files with 348 additions and 348 deletions

View File

@@ -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