diff options
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/deprecation/reporting.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/testing/assertions.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/deprecation/reporting.rb b/activesupport/lib/active_support/deprecation/reporting.rb index 0529da342f..a1e9618084 100644 --- a/activesupport/lib/active_support/deprecation/reporting.rb +++ b/activesupport/lib/active_support/deprecation/reporting.rb @@ -20,7 +20,7 @@ module ActiveSupport # ActiveSupport::Deprecation.warn("something broke!") # # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)" # - # Activesupport::Deprecation.silence do + # ActiveSupport::Deprecation.silence do # ActiveSupport::Deprecation.warn("something broke!") # end # # => nil diff --git a/activesupport/lib/active_support/testing/assertions.rb b/activesupport/lib/active_support/testing/assertions.rb index 411bb76a42..ee1a647ed8 100644 --- a/activesupport/lib/active_support/testing/assertions.rb +++ b/activesupport/lib/active_support/testing/assertions.rb @@ -90,7 +90,7 @@ module ActiveSupport assert object.blank?, message end - # Test if an expression is not blank. Passes <tt>if object.present?</tt> is +true+. + # Test if an expression is not blank. Passes if <tt>object.present?</tt> is +true+. # # assert_present({ data: 'x' }) # => true # assert_present({}) # => {} is blank |