Module: Webrat::HaveTagMatcher
- Defined in:
- lib/webrat/core/matchers/have_tag.rb
Instance Method Summary collapse
- #assert_have_no_tag(*args, &block) ⇒ Object
- #assert_have_tag(*args, &block) ⇒ Object
- #have_tag(*args, &block) ⇒ Object (also: #match_tag)
Instance Method Details
#assert_have_no_tag(*args, &block) ⇒ Object
16 17 18 |
# File 'lib/webrat/core/matchers/have_tag.rb', line 16 def assert_have_no_tag(*args, &block) assert_have_no_selector(*args, &block) end |
#assert_have_tag(*args, &block) ⇒ Object
12 13 14 |
# File 'lib/webrat/core/matchers/have_tag.rb', line 12 def assert_have_tag(*args, &block) assert_have_selector(*args, &block) end |
#have_tag(*args, &block) ⇒ Object Also known as: match_tag
6 7 8 |
# File 'lib/webrat/core/matchers/have_tag.rb', line 6 def have_tag(*args, &block) have_selector(*args, &block) end |