Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4373 from castlerock/remove_condition

if turn available then MiniTest::Unit.respond_to?(:use_natural_language_...
  • Loading branch information...
commit f082004fbcf5f360fb902974cfe27a5280b7765f 2 parents ef023ce + c0042b1
@drogus drogus authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.