diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-20 22:18:42 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-20 22:18:42 +0530 |
commit | 500ca98fef7a8cc20f1f8f5835091e1f119e0d8a (patch) | |
tree | 8828b963fb2724d12ffbe764218def981e01ddb3 /activesupport/lib/active_support | |
parent | 4fa615a8661eb13d4bd8a7de4d839e9883ef26ec (diff) | |
parent | e52786c361fd3828872089a8e70f690493f331b2 (diff) | |
download | rails-500ca98fef7a8cc20f1f8f5835091e1f119e0d8a.tar.gz rails-500ca98fef7a8cc20f1f8f5835091e1f119e0d8a.tar.bz2 rails-500ca98fef7a8cc20f1f8f5835091e1f119e0d8a.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/testing/assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/assertions.rb b/activesupport/lib/active_support/testing/assertions.rb index f3629ada5b..4e1a58a801 100644 --- a/activesupport/lib/active_support/testing/assertions.rb +++ b/activesupport/lib/active_support/testing/assertions.rb @@ -87,7 +87,7 @@ module ActiveSupport # Test if an expression is not blank. Passes if object.present? is true. # - # assert_present {:data => 'x' } # => true + # assert_present({:data => 'x' }) # => true def assert_present(object, message=nil) message ||= "#{object.inspect} is blank" assert object.present?, message |