realestate-com-au / akamai-rspec

Test your akamai configuration with rspec
24 stars 13 forks source link

Add a nicer way to check the full origin URL #4

Open beegibson opened 9 years ago

beegibson commented 9 years ago

Like:

expect('mysite.com.au/stuff').to be_served_from('myorigin.com/stuff')

I'm not sure what the matcher should be called. Implementing it should be straight forward - combine the be_served_from_origin and be_forwarded_to_index.