Sha256: f064631346faab7a13ccb1bbe0557c88e0685a66340d91df58775efb4bb46ea0
Contents?: true
Size: 625 Bytes
Versions: 14
Compression:
Stored size: 625 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| expect(page).to have_xpath("//link[contains(@href, /stylesheets/#{path}) and contains(@media, #{media})]", visible: false) end Then /^I should see the js file "([^"]*)"$/ do |path| expect(page).to have_xpath("//script[contains(@src, /javascripts/#{path})]", visible: false) end Then /^I should see the favicon "([^"]*)"$/ do |path| expect(page).to have_xpath("//link[contains(@href, path)]", visible: false) end
Version data entries
14 entries across 14 versions & 2 rubygems