Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

if turn available then MiniTest::Unit.respond_to?(:use_natural_language_... #4373

Merged
merged 1 commit into from

2 participants

@vatrai

if turn available then MiniTest::Unit.respond_to?(:use_natural_language_case_names=) available

@drogus drogus merged commit f082004 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 7, 2012
  1. @vatrai

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

    vatrai authored
    …ge_case_names=) available
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.