realestate-com-au / akamai-rspec

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

AkamaiRSpec::Response should check that @response is a response #16

Open beegibson opened 8 years ago

beegibson commented 8 years ago

initialize should check that response is actually a RestClient::Response or Net::HTTPResponse before setting @response. headers should be explicit that the second case introduced in PR 14 is for Net:HTTPResponse. When I tried to do this quickly while reviewing PR 14 it broke a bunch of tests, so I don't have the time to deal with it at the moment.