Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
scenario 'www home page has an About link in the nav bar' do
visit_path '/', at_host: 'www.public.law'
Capybara.within('#top-navbar') do
expect(Capybara.page).to have_content('About us')
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.