mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Set RACK_ENV to nil in the dbconsole test
This will fix the travis-ci build
This commit is contained in:
parent
3015649783
commit
9a30d82d45
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ class Rails::DBConsoleTest < ActiveSupport::TestCase
|
|||
assert_equal Rails::DBConsole.new.environment, "test"
|
||||
|
||||
ENV['RAILS_ENV'] = nil
|
||||
ENV['RACK_ENV'] = nil
|
||||
|
||||
Rails.stubs(:respond_to?).with(:env).returns(false)
|
||||
assert_equal Rails::DBConsole.new.environment, "development"
|
||||
|
|
Loading…
Reference in a new issue