RLovelett / sports_data_api

A Ruby interface to the Sports Data API. API supports NFL, MLB, NHL, and NBA.
http://developer.sportsdatallc.com/api_gallery
Other
26 stars 28 forks source link

Refactor Specs to Use VCR #1

Closed RLovelett closed 11 years ago

RLovelett commented 11 years ago

I was already psuedo mocking out the requests by stubbing RestClient.get and returning the expected XML.

Use the VCR library to fully mock out all HTTP requests.