Browse files

Merge pull request #4373 from castlerock/remove_condition

if turn available then MiniTest::Unit.respond_to?(:use_natural_language_...
  • Loading branch information...
2 parents ef023ce + c0042b1 commit f082004fbcf5f360fb902974cfe27a5280b7765f @drogus drogus committed Jan 7, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 railties/lib/rails/test_help.rb
View
5 railties/lib/rails/test_help.rb
@@ -10,10 +10,7 @@
# Enable turn if it is available
begin
require 'turn'
-
- if MiniTest::Unit.respond_to?(:use_natural_language_case_names=)
- MiniTest::Unit.use_natural_language_case_names = true
- end
+ MiniTest::Unit.use_natural_language_case_names = true
rescue LoadError
end

0 comments on commit f082004

Please sign in to comment.