Sha256: fe38f7f39ded0e9ba82843d9f75e8c96f46d1df4ad3f1dd4293c32ae82474096
Contents?: true
Size: 400 Bytes
Versions: 39
Compression:
Stored size: 400 Bytes
Contents
# -*- encoding : utf-8 -*- 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
39 entries across 39 versions & 2 rubygems