diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-30 23:29:47 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-30 23:29:47 -0300 |
commit | 9a30d82d455a5b8578f7dfe6f5f9479fca44c78f (patch) | |
tree | b944209b25745bd523613d99dfc8df4cdf87a65a /railties/test/commands | |
parent | 30156497832807eee8afee7436b4e417b5719100 (diff) | |
download | rails-9a30d82d455a5b8578f7dfe6f5f9479fca44c78f.tar.gz rails-9a30d82d455a5b8578f7dfe6f5f9479fca44c78f.tar.bz2 rails-9a30d82d455a5b8578f7dfe6f5f9479fca44c78f.zip |
Set RACK_ENV to nil in the dbconsole test
This will fix the travis-ci build
Diffstat (limited to 'railties/test/commands')
-rw-r--r-- | railties/test/commands/dbconsole_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/commands/dbconsole_test.rb b/railties/test/commands/dbconsole_test.rb index 1b477eb98a..d45bdaabf5 100644 --- a/railties/test/commands/dbconsole_test.rb +++ b/railties/test/commands/dbconsole_test.rb @@ -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" |