Module: ElabsMatchers::Matchers::HaveImage
- Defined in:
- lib/elabs_matchers/matchers/have_image.rb
Defined Under Namespace
Classes: HaveImageMatcher
Instance Method Summary collapse
-
#have_image(value) ⇒ Object
Asserts if the supplied image exists or not.
Instance Method Details
#have_image(value) ⇒ Object
Asserts if the supplied image exists or not
Example: page.should have_image(“Logo”)
68 69 70 |
# File 'lib/elabs_matchers/matchers/have_image.rb', line 68 def have_image(value) HaveImageMatcher.new(value) end |