This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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