Permalink
Browse files

if turn available then MiniTest::Unit.respond_to?(:use_natural_langua…

…ge_case_names=) available
  • Loading branch information...
1 parent 686f94e commit c0042b1df9c68de29c5dc6eed4c28fc31eabc2fa @vishnuatrai vishnuatrai committed Jan 7, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 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 c0042b1

Please sign in to comment.