aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-28 12:03:44 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-28 12:03:44 -0700
commitbe408d66b7ef98da7b959d8b6778440e461235a6 (patch)
tree51648a2c30236fc15c86bfed4d52482c769bbdb8
parentbf1645613e3482040cbc72f0c11aaf9461914cb8 (diff)
parent3326b8b1393489fed9b6717e108bac6a058ff20c (diff)
downloadrails-be408d66b7ef98da7b959d8b6778440e461235a6.tar.gz
rails-be408d66b7ef98da7b959d8b6778440e461235a6.tar.bz2
rails-be408d66b7ef98da7b959d8b6778440e461235a6.zip
Merge pull request #7187 from frodsan/fix_test_help
Backport #6995 to 3-2 stable
-rw-r--r--railties/lib/rails/test_help.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb
index 8d0d8cacac..2efa25af7e 100644
--- a/railties/lib/rails/test_help.rb
+++ b/railties/lib/rails/test_help.rb
@@ -17,8 +17,8 @@ if defined?(MiniTest)
begin
require 'turn'
- if MiniTest::Unit.respond_to?(:use_natural_language_case_names=)
- MiniTest::Unit.use_natural_language_case_names = true
+ Turn.config do |c|
+ c.natural = true
end
rescue LoadError
end