diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-18 20:10:11 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-18 20:10:11 +0000 |
commit | 7d010055142c14aa5ee56ac5aae600dfdc03dcae (patch) | |
tree | 4fb48093012daf856db94f75d507d7d8bff9957f /actionpack/lib/action_controller/assertions.rb | |
parent | f46486d37ebe1d2d7354cf46dd024690a6d25c9a (diff) | |
download | rails-7d010055142c14aa5ee56ac5aae600dfdc03dcae.tar.gz rails-7d010055142c14aa5ee56ac5aae600dfdc03dcae.tar.bz2 rails-7d010055142c14aa5ee56ac5aae600dfdc03dcae.zip |
Fixed documentation and prepared for release of 0.12
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/assertions.rb')
-rw-r--r-- | actionpack/lib/action_controller/assertions.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/actionpack/lib/action_controller/assertions.rb b/actionpack/lib/action_controller/assertions.rb index 0c1ca76e19..53d53af400 100644 --- a/actionpack/lib/action_controller/assertions.rb +++ b/actionpack/lib/action_controller/assertions.rb @@ -134,15 +134,15 @@ module Test #:nodoc: # must meet the criteria described by the hash. # * <tt>:children</tt>: a hash, for counting children of a node. Accepts # the keys: - # ** <tt>:count</tt>: either a number or a range which must equal (or - # include) the number of children that match. - # ** <tt>:less_than</tt>: the number of matching children must be less - # than this number. - # ** <tt>:greater_than</tt>: the number of matching children must be - # greater than this number. - # ** <tt>:only</tt>: another hash consisting of the keys to use - # to match on the children, and only matching children will be - # counted. + # * <tt>:count</tt>: either a number or a range which must equal (or + # include) the number of children that match. + # * <tt>:less_than</tt>: the number of matching children must be less + # than this number. + # * <tt>:greater_than</tt>: the number of matching children must be + # greater than this number. + # * <tt>:only</tt>: another hash consisting of the keys to use + # to match on the children, and only matching children will be + # counted. # * <tt>:content</tt>: (text nodes only). The content of the node must # match the given value. # |