Skip to content

Commit

Permalink
Reset RACK_ENV after modified in a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Aug 28, 2014
1 parent 357edaa commit 0c885d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/test/commands/dbconsole_test.rb
Expand Up @@ -95,6 +95,7 @@ def test_env
end
ensure
ENV['RAILS_ENV'] = "test"
ENV['RACK_ENV'] = nil
end

def test_rails_env_is_development_when_argument_is_dev
Expand Down

0 comments on commit 0c885d6

Please sign in to comment.