From 930f33657c7264578bea198f65222471b8ab2d2e Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Mon, 4 Jul 2005 15:05:40 +0000 Subject: Updated html-scanner so that assert_tag(:tag => "p", :content => "foo") behaves as expected git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/assertions.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller/assertions.rb') diff --git a/actionpack/lib/action_controller/assertions.rb b/actionpack/lib/action_controller/assertions.rb index cb8d0e79ae..e04d4ccde0 100644 --- a/actionpack/lib/action_controller/assertions.rb +++ b/actionpack/lib/action_controller/assertions.rb @@ -191,8 +191,9 @@ module Test #:nodoc: # * :only: another hash consisting of the keys to use # to match on the children, and only matching children will be # counted. - # * :content: (text nodes only). The content of the node must - # match the given value. + # * :content: the textual content of the node must match the + # given value. This will not match HTML tags in the body of a + # tag--only text. # # Conditions are matched using the following algorithm: # -- cgit v1.2.3