Created
June 8, 2018 08:15
-
-
Save dogweather/4f4abed231d964258a0413e6a89cf83c to your computer and use it in GitHub Desktop.
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