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:
parent
b27057731c
commit
edf7c9a6a3
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue