Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.4 kb
assert_have_selector: |-
== assert_have_selector
# Matches HTML content against a CSS 3 selector.
# In Webrat core, Webrat Selenium
assert_have_selector 'div.pagination'
assert_have_no_selector 'form input#name'
assert_have_selector 'img', :src => image_url
assert_have_selector '.cpm', :content => "$100.00"
assert_have_selector 'li', :count => 2
Jump to Line
Something went wrong with that request. Please try again.