aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/assertions
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2007-11-06 18:57:33 +0000
committerMarcel Molina <marcel@vernix.org>2007-11-06 18:57:33 +0000
commit341afb6a81a569ae91bdf8c9e3982806423c7a67 (patch)
tree733031a9aa0e6afe7e2263796452ff392de36428 /actionpack/lib/action_controller/assertions
parentaf005df811dce7b602a07abeba40aff39799a9d0 (diff)
downloadrails-341afb6a81a569ae91bdf8c9e3982806423c7a67.tar.gz
rails-341afb6a81a569ae91bdf8c9e3982806423c7a67.tar.bz2
rails-341afb6a81a569ae91bdf8c9e3982806423c7a67.zip
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
Diffstat (limited to 'actionpack/lib/action_controller/assertions')
-rw-r--r--actionpack/lib/action_controller/assertions/tag_assertions.rb6
1 files changed, 3 insertions, 3 deletions
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 ActionController
# to match on the children, and only matching children will be
# counted.
# * <tt>:content</tt>: 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 ActionController
# :descendant => { :tag => "span",
# :child => /hello world/ }
#
- # <strong>Please note</strong: #assert_tag and #assert_no_tag only work
+ # <b>Please note</b>: #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). <em>You must explicitly