1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

require turn only for minitest

This commit is contained in:
David Heinemeier Hansson 2011-03-31 12:17:28 -07:00
parent b27057731c
commit edf7c9a6a3

View file

@ -16,8 +16,12 @@ rescue LoadError
end
# Added by Turn to support natural case names in the output formatting
if defined?(MiniTest) && MiniTest::Unit.respond_to?(:use_natural_language_case_names=)
MiniTest::Unit.use_natural_language_case_names = true
if defined?(MiniTest)
require 'turn'
if MiniTest::Unit.respond_to?(:use_natural_language_case_names=)
MiniTest::Unit.use_natural_language_case_names = true
end
end
module ActiveSupport