Sha256: 0e7f9299da920ed9714693d2a4cde5fb0cd95700a07d10a8a24380f541b57794
Contents?: true
Size: 373 Bytes
Versions: 5
Compression:
Stored size: 373 Bytes
Contents
Then /^I (should|should not) see an? "([^\"]*)" element containing "([^\"]*)"$/ do |bool,elem,content| if bool == "should" page.should have_xpath("//#{elem}[text()='#{content}']") else page.should have_no_xpath("//#{elem}[text()='#{content}']") end end Then /^I should see link rel=alternate tags/ do page.should have_selector("link[rel=alternate]") end
Version data entries
5 entries across 5 versions & 1 rubygems