test/data/vcr_cassettes/schools.yml in clever-ruby-0.5.0 vs test/data/vcr_cassettes/schools.yml in clever-ruby-0.6.0
- old
+ new
@@ -6,11 +6,11 @@
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- - ! '*/*; q=0.5, application/xml'
+ - "*/*; q=0.5, application/xml"
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
response:
@@ -21,35 +21,76 @@
Access-Control-Allow-Headers:
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
Access-Control-Allow-Methods:
- GET,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- - ! '*'
+ - "*"
Content-Type:
- application/json; charset=utf-8
Date:
- - Mon, 08 Sep 2014 21:31:31 GMT
+ - Tue, 09 Sep 2014 21:49:01 GMT
Etag:
- - ! '"1408105812"'
+ - '"1408105812"'
Server:
- nginx/1.4.7
X-Powered-By:
- Express
Content-Length:
- '1764'
Connection:
- keep-alive
body:
- encoding: US-ASCII
- string: ! '{"data":[{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350
+ encoding: UTF-8
+ string: '{"data":[{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350
5th Avenue","city":"New York","state":"NY","zip":"10001"},"low_grade":"9","name":"Clever
High School","nces_id":"360008000000","phone":"(212) 555-1212","principal":{"name":"Theodora
Khan","email":"tdkhan@mailinator.com"},"school_number":"02M800","sis_id":"02M800","state_id":"712345","id":"530e595026403103360ff9fd"},"uri":"/v1.1/schools/530e595026403103360ff9fd"},{"data":{"created":"2014-02-26T21:14:56.668Z","district":"4fd43cc56d11340000000005","high_grade":"5","last_modified":"2014-02-26T21:14:56.670Z","location":{"address":"110
Pineapple Street","city":"Brooklyn","state":"NY","zip":"11201"},"low_grade":"Kindergarten","name":"Clever
Elementary School","nces_id":"360007000000","phone":"(718) 555-4567","principal":{"name":"Cecilia
Roderick","email":"ceciliar@mailinator.com"},"school_number":"13K123","sis_id":"13K123","state_id":"30890","id":"530e595026403103360ff9fe"},"uri":"/v1.1/schools/530e595026403103360ff9fe"},{"data":{"created":"2014-02-26T21:14:56.671Z","district":"4fd43cc56d11340000000005","high_grade":"8","last_modified":"2014-02-26T21:14:56.673Z","location":{"address":"322
Old Beach 88th Street","city":"Rockaway Beach","state":"NY","zip":"11693"},"low_grade":"6","name":"Clever
Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard
Springsteen","email":"lspringsteen@mailinator.com"},"school_number":"27Q321","sis_id":"27Q321","state_id":"412","id":"530e595026403103360ff9ff"},"uri":"/v1.1/schools/530e595026403103360ff9ff"}],"paging":{"current":1,"total":1,"count":3},"links":[{"rel":"self","uri":"/v1.1/schools"}]}'
http_version:
- recorded_at: Mon, 08 Sep 2014 21:31:30 GMT
+ recorded_at: Tue, 09 Sep 2014 21:49:01 GMT
+- request:
+ method: get
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/schools?count=true
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Accept:
+ - "*/*; q=0.5, application/xml"
+ Accept-Encoding:
+ - gzip, deflate
+ User-Agent:
+ - Ruby
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Access-Control-Allow-Headers:
+ - Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
+ Access-Control-Allow-Methods:
+ - GET,PATCH,POST,DELETE
+ Access-Control-Allow-Origin:
+ - "*"
+ Content-Type:
+ - application/json; charset=utf-8
+ Date:
+ - Tue, 09 Sep 2014 21:49:01 GMT
+ Server:
+ - nginx/1.4.7
+ X-Powered-By:
+ - Express
+ Content-Length:
+ - '69'
+ Connection:
+ - keep-alive
+ body:
+ encoding: UTF-8
+ string: '{"count":3,"links":[{"rel":"self","uri":"/v1.1/schools?count=true"}]}'
+ http_version:
+ recorded_at: Tue, 09 Sep 2014 21:49:01 GMT
recorded_with: VCR 2.4.0