Skip to content

Commit

Permalink
Fix duplicated method name
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
carlosantoniodasilva committed Dec 5, 2012
1 parent ddd4fac commit b6f0978
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions railties/test/application/runner_test.rb
Expand Up @@ -80,7 +80,7 @@ def test_environment_with_rails_env
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
Expand All @@ -89,6 +89,5 @@ def test_environment_with_rails_env
ENV['RAILS_ENV'] = rails
ENV['RACK_ENV'] = rack
end

end
end

1 comment on commit b6f0978

@kennyj
Copy link
Contributor

@kennyj kennyj commented on b6f0978 Dec 5, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.