Skip to content
This repository
Browse code

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
Piotr Sarnacki authored

Showing 1 changed file with 1 addition and 4 deletions. Show diff stats Hide diff stats

  1. 5  railties/lib/rails/test_help.rb
5  railties/lib/rails/test_help.rb
@@ -10,10 +10,7 @@
10 10
 # Enable turn if it is available
11 11
 begin
12 12
   require 'turn'
13  
-
14  
-  if MiniTest::Unit.respond_to?(:use_natural_language_case_names=)
15  
-    MiniTest::Unit.use_natural_language_case_names = true
16  
-  end
  13
+  MiniTest::Unit.use_natural_language_case_names = true
17 14
 rescue LoadError
18 15
 end
19 16
 

0 notes on commit f082004

Please sign in to comment.
Something went wrong with that request. Please try again.