Sha256: 8901e477ec385b144c670a7d1e6a5eb95493196f8ed80f4e233b4752471ebb84
Contents?: true
Size: 534 Bytes
Versions: 39
Compression:
Stored size: 534 Bytes
Contents
Then /^I should see the site title "([^"]*)"$/ do |title| expect(page).to have_css 'h1#site_title', text: title end Then /^I should not see the site title "([^"]*)"$/ do |title| expect(page).to_not have_css 'h1#site_title', text: title end Then /^I should see the site title image "([^"]*)"$/ do |image| img = page.find('h1#site_title img') expect(img[:src]).to eq(image) end Then /^I should see the site title image linked to "([^"]*)"$/ do |url| link = page.find('h1#site_title a') expect(link[:href]).to eq(url) end
Version data entries
39 entries across 39 versions & 4 rubygems