Class Merb::Test::Rspec::ViewMatchers::MatchTag
In: lib/merb-core/test/matchers/view_matchers.rb
Parent: Object

Methods

Public Class methods

Parameters

name<~to_s>:The name of the tag to look for.
attrs<Hash>:Attributes to look for in the tag (see below).

Options (attrs)

:content<String>:Optional content to match.

Public Instance methods

Returns

String:The failure message.

Parameters

target<String>:The string to look for the tag in.

Returns

Boolean:True if the tag matched.

Returns

String:The failure message to be displayed in negative matches.

[Validate]