aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/config.rb')
-rw-r--r--activerecord/test/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/config.rb b/activerecord/test/config.rb
index 6e2e8b2145..a65e6ff776 100644
--- a/activerecord/test/config.rb
+++ b/activerecord/test/config.rb
@@ -1,4 +1,4 @@
-TEST_ROOT = File.expand_path(File.dirname(__FILE__))
+TEST_ROOT = __dir__
ASSETS_ROOT = TEST_ROOT + "/assets"
FIXTURES_ROOT = TEST_ROOT + "/fixtures"
MIGRATIONS_ROOT = TEST_ROOT + "/migrations"