aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-09-25 08:51:06 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-09-25 08:51:06 +0000
commit3b98b685163be795e3156ce75d5083689c137dd8 (patch)
treef534fd7645da24b17857f328c95229e0b14b2498 /railties/lib
parent14c1cb4bcbfe43a823397d6577b5aa10efc8eae7 (diff)
downloadrails-3b98b685163be795e3156ce75d5083689c137dd8.tar.gz
rails-3b98b685163be795e3156ce75d5083689c137dd8.tar.bz2
rails-3b98b685163be795e3156ce75d5083689c137dd8.zip
Doof. Don't call it with false if it doesn't respond.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/console_app.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/console_app.rb b/railties/lib/console_app.rb
index 0030b2bb3a..eaf02234ea 100644
--- a/railties/lib/console_app.rb
+++ b/railties/lib/console_app.rb
@@ -1,7 +1,7 @@
require 'action_controller/integration'
# work around the at_exit hook in test/unit, which kills IRB
-Test::Unit.run = Test::Unit.respond_to?(:run=)
+Test::Unit.run = true if Test::Unit.respond_to?(:run=)
# reference the global "app" instance, created on demand. To recreate the
# instance, pass a non-false value as the parameter.