aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/adapters
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/test/adapters')
-rw-r--r--activejob/test/adapters/delayed_job.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/test/adapters/delayed_job.rb b/activejob/test/adapters/delayed_job.rb
index 5f0ee2418c..98e41c0c36 100644
--- a/activejob/test/adapters/delayed_job.rb
+++ b/activejob/test/adapters/delayed_job.rb
@@ -1,6 +1,6 @@
ActiveJob::Base.queue_adapter = :delayed_job
-$LOAD_PATH << File.dirname(__FILE__) + "/../support/delayed_job"
+$LOAD_PATH << File.expand_path("../support/delayed_job", __dir__)
Delayed::Worker.delay_jobs = false
Delayed::Worker.backend = :test