update test_help to config properly turn natural language option #6995

Merged
merged 1 commit into from Jul 7, 2012
View
5 railties/lib/rails/test_help.rb
@@ -10,7 +10,10 @@
# Enable turn if it is available
begin
require 'turn'
- MiniTest::Unit.use_natural_language_case_names = true
+
+ Turn.config do |c|
+ c.natural = true
+ end
rescue LoadError
end