aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-06-11 15:59:23 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-06-14 12:10:17 +0300
commit6673cf7071094e87d473459452a2d0e4c2ccfebe (patch)
tree926d5c944b8fd71c1fa2db6ddbc5fc397722112e /activerecord/Rakefile
parent326914dd3a15e04851c9ef4a47edeb3dad2ec381 (diff)
downloadrails-6673cf7071094e87d473459452a2d0e4c2ccfebe.tar.gz
rails-6673cf7071094e87d473459452a2d0e4c2ccfebe.tar.bz2
rails-6673cf7071094e87d473459452a2d0e4c2ccfebe.zip
Use `require_relative` instead of `require` with full path
Diffstat (limited to 'activerecord/Rakefile')
-rw-r--r--activerecord/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index 2d0d5bd657..fe5f9d1071 100644
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -1,7 +1,7 @@
require "rake/testtask"
-require File.expand_path("test/config", __dir__)
-require File.expand_path("test/support/config", __dir__)
+require_relative "test/config"
+require_relative "test/support/config"
def run_without_aborting(*tasks)
errors = []