From 341afb6a81a569ae91bdf8c9e3982806423c7a67 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Tue, 6 Nov 2007 18:57:33 +0000 Subject: [PATCH] Fix broken tag in assert_tag documentation. Closes #9037 [mfazekas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/CHANGELOG | 2 ++ .../lib/action_controller/assertions/tag_assertions.rb | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index acba014554..34b0421b67 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix broken tag in assert_tag documentation. Closes #9037 [mfazekas] + * Add documentation for route conditions. Closes #9041 [innu, manfred] * Fix typo left over from previous typo fix in url helper. Closes #9414 [Henrik N] diff --git a/actionpack/lib/action_controller/assertions/tag_assertions.rb b/actionpack/lib/action_controller/assertions/tag_assertions.rb index d911d81174..f8d2ec9798 100644 --- a/actionpack/lib/action_controller/assertions/tag_assertions.rb +++ b/actionpack/lib/action_controller/assertions/tag_assertions.rb @@ -37,8 +37,8 @@ module TagAssertions # to match on the children, and only matching children will be # counted. # * :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. + # given value. This will not match HTML tags in the body of a + # tag--only text. # # Conditions are matched using the following algorithm: # @@ -90,7 +90,7 @@ module TagAssertions # :descendant => { :tag => "span", # :child => /hello world/ } # - # Please notePlease note: #assert_tag and #assert_no_tag only work # with well-formed XHTML. They recognize a few tags as implicitly self-closing # (like br and hr and such) but will not work correctly with tags # that allow optional closing tags (p, li, td). You must explicitly