mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Skip test runner workaround only if Test::Unit is loaded. Closes #9671 [tomafro]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
79a9c7a702
commit
14c1cb4bcb
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
require 'action_controller/integration'
|
require 'action_controller/integration'
|
||||||
|
|
||||||
# work around the at_exit hook in test/unit, which kills IRB
|
# work around the at_exit hook in test/unit, which kills IRB
|
||||||
Test::Unit.run = true
|
Test::Unit.run = Test::Unit.respond_to?(:run=)
|
||||||
|
|
||||||
# reference the global "app" instance, created on demand. To recreate the
|
# reference the global "app" instance, created on demand. To recreate the
|
||||||
# instance, pass a non-false value as the parameter.
|
# instance, pass a non-false value as the parameter.
|
||||||
|
|
Loading…
Reference in a new issue