diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-12-05 15:27:17 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-12-05 15:27:19 -0200 |
commit | b6f0978108f02cadf59a830ed7d83dcada50c223 (patch) | |
tree | 3d5d62b23f3b204fc1dfb66d840e84c08f8f183e /railties | |
parent | ddd4fac8cc1dc3cbffdd4ef71fd260b601a17695 (diff) | |
download | rails-b6f0978108f02cadf59a830ed7d83dcada50c223.tar.gz rails-b6f0978108f02cadf59a830ed7d83dcada50c223.tar.bz2 rails-b6f0978108f02cadf59a830ed7d83dcada50c223.zip |
Fix duplicated method name
[ci skip]
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/application/runner_test.rb | 3 |
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 |