Last active
June 28, 2016 10:44
-
-
Save rhargreaves/f28af1d07bd5382d02d588c7732be966 to your computer and use it in GitHub Desktop.
SPA 2016: Acceptance Test - Site Loads Under 2 Seconds
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
it 'loads the page fully in under 2 seconds' do | |
stopwatch = Stopwatch.new | |
visit @site_url | |
expect(stopwatch.elapsed_time).to be < 2 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment