Skip to content

Commit

Permalink
if turn available then MiniTest::Unit.respond_to?(:use_natural_langua…
Browse files Browse the repository at this point in the history
…ge_case_names=) available
  • Loading branch information
Vishnu Atrai committed Jan 7, 2012
1 parent 686f94e commit c0042b1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions railties/lib/rails/test_help.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c0042b1

Please sign in to comment.