Skip to content

Commit c0042b1

Browse files
author
Vishnu Atrai
committed
if turn available then MiniTest::Unit.respond_to?(:use_natural_language_case_names=) available
1 parent 686f94e commit c0042b1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

railties/lib/rails/test_help.rb

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
# Enable turn if it is available
1111
begin
1212
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
1714
rescue LoadError
1815
end
1916

0 commit comments

Comments
 (0)