mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix duplicated method name
[ci skip]
This commit is contained in:
parent
ddd4fac8cc
commit
b6f0978108
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue