From 9a30d82d455a5b8578f7dfe6f5f9479fca44c78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 30 May 2012 23:29:47 -0300 Subject: Set RACK_ENV to nil in the dbconsole test This will fix the travis-ci build --- railties/test/commands/dbconsole_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'railties/test/commands') 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" -- cgit v1.2.3