Repository URL to install this package:
|
Version:
1.0.0.pre ▾
|
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