Sha256: 35f9c63bd2566570a7a907c2e65e7693836625e3b2936d6e36d56687c318bea9
Contents?: true
Size: 572 Bytes
Versions: 17
Compression:
Stored size: 572 Bytes
Contents
Then /^I should see the css file "([^"]*)"$/ do |path| step %{I should see the css file "#{path}" of media "screen"} end Then /^I should see the css file "([^"]*)" of media "([^"]*)"$/ do |path, media| page.should have_xpath("//link[contains(@href, /stylesheets/#{path}) and contains(@media, #{media})]") end Then /^I should see the js file "([^"]*)"$/ do |path| page.should have_xpath("//script[contains(@src, /javascripts/#{path})]") end Then /^I should see the favicon "([^"]*)"$/ do |path| page.should have_xpath("//link[contains(@href, \"#{path}\")]") end
Version data entries
17 entries across 17 versions & 5 rubygems