Changeset 2894
- Timestamp:
- 11/06/05 13:59:07 (3 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/assertions.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r2881 r2894 1 1 *SVN* 2 3 * Add documentation to assert_tag indicating that it only works with well-formed XHTML #1937, #2570 [Jamis Buck] 2 4 3 5 * Added action_pack.rb stub so that ActionPack::Version loads properly [Sam Stephenson] trunk/actionpack/lib/action_controller/assertions.rb
r2876 r2894 258 258 # :descendant => { :tag => "span", 259 259 # :child => /hello world/ } 260 # 261 # <strong>Please note</strong: #assert_tag and #assert_no_tag only work 262 # with well-formed XHTML. They recognize a few tags as implicitly self-closing 263 # (like br and hr and such) but will not work correctly with tags 264 # that allow optional closing tags (p, li, td). <em>You must explicitly 265 # close all of your tags to use these assertions.</em> 260 266 def assert_tag(*opts) 261 267 clean_backtrace do