mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Reset RACK_ENV after modified in a test case
This commit is contained in:
parent
357edaaf83
commit
0c885d6818
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ class Rails::DBConsoleTest < ActiveSupport::TestCase
|
|||
end
|
||||
ensure
|
||||
ENV['RAILS_ENV'] = "test"
|
||||
ENV['RACK_ENV'] = nil
|
||||
end
|
||||
|
||||
def test_rails_env_is_development_when_argument_is_dev
|
||||
|
|
Loading…
Reference in a new issue