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,6 +1,6 @@
# frozen_string_literal: true
require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'
class SudoModeTest < Redmine::IntegrationTest
fixtures :projects, :members, :member_roles, :roles, :users, :email_addresses