Skip to content
Daniel Heath edited this page Nov 8, 2016 · 2 revisions

Akamai is often responsible for SSL termination, gzipping and adding cookies.

The following matchers are available:

expect('https://realestate.com.au').to be_verifiably_secure
expect('https://realestate.com.au').to be_successful
expect('https://realestate.com.au').to be_gzipped
expect('https://realestate.com.au').to have_cookie('name', 'optional value')
expect('https://realestate.com.au').to respond_with_headers({cache_control: 'no-cache'})
Clone this wiki locally