aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/support/integration/dummy_app_template.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/test/support/integration/dummy_app_template.rb')
-rw-r--r--activejob/test/support/integration/dummy_app_template.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/test/support/integration/dummy_app_template.rb b/activejob/test/support/integration/dummy_app_template.rb
index 29a5691f30..14fe3c9adc 100644
--- a/activejob/test/support/integration/dummy_app_template.rb
+++ b/activejob/test/support/integration/dummy_app_template.rb
@@ -5,7 +5,7 @@ end
rails_command("db:migrate")
initializer "activejob.rb", <<-CODE
-require "#{File.expand_path("../jobs_manager.rb", __FILE__)}"
+require "#{File.expand_path("jobs_manager.rb", __dir__)}"
JobsManager.current_manager.setup
CODE