Permalink
Browse files

Reset RACK_ENV after modified in a test case

  • Loading branch information...
1 parent 357edaa commit 0c885d68189c4548dea3a833cb411c076799459c @amatsuda amatsuda committed Aug 26, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/test/commands/dbconsole_test.rb
@@ -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

0 comments on commit 0c885d6

Please sign in to comment.