Sha256: a8c34e5f7aa7355d2a3ba18f622d34fbf87f585bab1c48c4ead1ca08906048a1
Contents?: true
Size: 325 Bytes
Versions: 41
Compression:
Stored size: 325 Bytes
Contents
# This is borrowed from blacklight's record_view_steps.rb Then /^I (should|should not) see an? "([^\"]*)" element containing "([^\"]*)"$/ do |bool,elem,content| if bool == "should" page.should have_selector("#{elem}",:content => content) else page.should_not have_selector("#{elem}",:content => content) end end
Version data entries
41 entries across 41 versions & 1 rubygems