Class | Merb::Test::Rspec::ViewMatchers::HasTag |
In: |
lib/merb-core/test/matchers/view_matchers.rb
|
Parent: | Object |
tag<~to_s>: | The tag to look for. |
attributes<Hash>: | Attributes for the tag (see below). |
String: | The failure message to be displayed in negative matches within the have_tag block. |
stringlike<Hpricot::Elem, StringIO, String>: | The thing to search in. |
&blk: | An optional block for searching in child elements using with_tag. |
Boolean: | True if there was at least one match. |
Search for a child tag within a have_tag block.
tag<~to_s>: | The tag to look for. |
attributes<Hash>: | Attributes for the tag (see below). |