From b6f0978108f02cadf59a830ed7d83dcada50c223 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Wed, 5 Dec 2012 15:27:17 -0200 Subject: Fix duplicated method name [ci skip] --- railties/test/application/runner_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'railties') 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 -- cgit v1.2.3