aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/app/templates/test/test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/generators/rails/app/templates/test/test_helper.rb')
-rw-r--r--railties/lib/generators/rails/app/templates/test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/app/templates/test/test_helper.rb b/railties/lib/generators/rails/app/templates/test/test_helper.rb
index 45b551fc7d..8bf1192ffe 100644
--- a/railties/lib/generators/rails/app/templates/test/test_helper.rb
+++ b/railties/lib/generators/rails/app/templates/test/test_helper.rb
@@ -1,5 +1,5 @@
ENV["RAILS_ENV"] = "test"
-require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
+require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
class ActiveSupport::TestCase