Module: ElabsMatchers::Matchers::HaveAttribute
- Defined in:
- lib/elabs_matchers/matchers/have_attribute.rb
Defined Under Namespace
Classes: HaveAttributeMatcher
Instance Method Summary collapse
-
#have_attribute(label, value) ⇒ Object
Asserts if the supplied show_for* attribute exists or not.
Instance Method Details
#have_attribute(label, value) ⇒ Object
Asserts if the supplied show_for* attribute exists or not
Example: page.should have_attribute(“Status”, “Pending”)
61 62 63 |
# File 'lib/elabs_matchers/matchers/have_attribute.rb', line 61 def have_attribute(label, value) HaveAttributeMatcher.new(label, value) end |