aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/test_helper.rb
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-10-13 20:50:03 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-10-13 21:26:57 +0300
commit19323d3bcc828e36b2d7ce23bc0e0031a05a012e (patch)
treebc87a90889909bce3333dd6f1a5ae1a4d162824c /activestorage/test/test_helper.rb
parentf1e47b0348bd6c18dd94659af549a25684ca78ff (diff)
downloadrails-19323d3bcc828e36b2d7ce23bc0e0031a05a012e.tar.gz
rails-19323d3bcc828e36b2d7ce23bc0e0031a05a012e.tar.bz2
rails-19323d3bcc828e36b2d7ce23bc0e0031a05a012e.zip
Use `require_relative` instead of `require` with full path in activestorage/
Related to #29417
Diffstat (limited to 'activestorage/test/test_helper.rb')
-rw-r--r--activestorage/test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/test/test_helper.rb b/activestorage/test/test_helper.rb
index e206cf1b8b..60656feb80 100644
--- a/activestorage/test/test_helper.rb
+++ b/activestorage/test/test_helper.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
+require_relative "dummy/config/environment.rb"
require "bundler/setup"
require "active_support"