aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/commands
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-05-30 23:29:47 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-05-30 23:29:47 -0300
commit9a30d82d455a5b8578f7dfe6f5f9479fca44c78f (patch)
treeb944209b25745bd523613d99dfc8df4cdf87a65a /railties/test/commands
parent30156497832807eee8afee7436b4e417b5719100 (diff)
downloadrails-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.rb1
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"