aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/test_case.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r--activesupport/lib/active_support/test_case.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index fb52fc7083..a48656192c 100644
--- a/activesupport/lib/active_support/test_case.rb
+++ b/activesupport/lib/active_support/test_case.rb
@@ -15,6 +15,11 @@ rescue LoadError
Mocha.const_set :ExpectationError, Class.new(StandardError)
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
+end
+
module ActiveSupport
class TestCase < ::Test::Unit::TestCase
if defined? MiniTest