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

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
require File.expand_path('../../../test_helper', __FILE__)
require_relative '../../test_helper'
class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing