aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/runner_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/test/application/runner_test.rb b/railties/test/application/runner_test.rb
index 797c7a9470..be520f2534 100644
--- a/railties/test/application/runner_test.rb
+++ b/railties/test/application/runner_test.rb
@@ -80,7 +80,7 @@ module ApplicationTests
ENV['RAILS_ENV'] = orig
end
- def test_environment_with_rails_env
+ def test_environment_with_rack_env
rack, rails = ENV['RACK_ENV'], ENV['RAILS_ENV']
ENV['RACK_ENV'] = "production"
ENV['RAILS_ENV'] = nil
@@ -89,6 +89,5 @@ module ApplicationTests
ENV['RAILS_ENV'] = rails
ENV['RACK_ENV'] = rack
end
-
end
end