test/fixtures/autocomplete_search_locations.yml in access-2.0.7 vs test/fixtures/autocomplete_search_locations.yml in access-2.0.8
- old
+ new
@@ -1,121 +1,16 @@
---
http_interactions:
- request:
method: get
- uri: https://offer-demo.adcrws.com/v1/autocomplete
- body:
- encoding: UTF-8
- string: member_key=guest&per_page=1&resources=locations
- headers:
- Access-Token:
- - token_without_limit
- Content-Type:
- - application/json
- Accept:
- - application/json
- response:
- status:
- code: 400
- message: Bad Request
- headers:
- Content-Type:
- - application/json
- Date:
- - Thu, 06 Aug 2015 17:30:02 GMT
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Request-Id:
- - cb808a39-e0b7-4e34-a3d2-b978aeba6238
- X-Runtime:
- - '0.000239'
- Content-Length:
- - '158'
- Connection:
- - keep-alive
- body:
- encoding: UTF-8
- string: '{"status":400,"message":"There was a problem in the JSON you submitted:
- 795: unexpected token at ''member_key=guest\u0026per_page=1\u0026resources=locations''"}'
- http_version:
- recorded_at: Thu, 06 Aug 2015 17:30:02 GMT
-- request:
- method: get
- uri: https://offer-demo.adcrws.com/v1/autocomplete?member_key=guest&per_page=1&resources=locations
- body:
- encoding: US-ASCII
- string: ''
- headers:
- Access-Token:
- - token_without_limit
- Content-Type:
- - application/json
- Accept:
- - application/json
- response:
- status:
- code: 200
- message: OK
- headers:
- Access-Control-Allow-Headers:
- - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
- Access-Control-Allow-Methods:
- - POST, GET, PUT, DELETE, OPTIONS
- Access-Control-Max-Age:
- - '1728000'
- Access-Control-Request-Method:
- - GET
- Cache-Control:
- - max-age=0, private, must-revalidate
- Content-Type:
- - application/json
- Date:
- - Thu, 06 Aug 2015 17:51:03 GMT
- Etag:
- - '"31ddb1bb29169320aef8492c5d01fc3b"'
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Content-Type-Options:
- - nosniff
- X-Frame-Options:
- - SAMEORIGIN
- X-Request-Id:
- - 46cf5f1a-7e13-4aea-b91d-5559340d59f2
- X-Runtime:
- - '0.021329'
- X-Xss-Protection:
- - 1; mode=block
- Content-Length:
- - '332'
- Connection:
- - keep-alive
- body:
- encoding: ASCII-8BIT
- string: !binary |-
- ewogICJzdWdnZXN0aW9ucyI6IHsKICAgICJxdWVyeSI6ICIqIiwKICAgICJs
- b2NhdGlvbnMiOiBbCiAgICAgIHsKICAgICAgICAibG9jYXRpb25fbmFtZSI6
- ICJXYWx0IERpc25leSBXb3JsZMKuIFRpY2tldHMiLAogICAgICAgICJsb2Nh
- dGlvbl9rZXkiOiA1MjE3NjE1LAogICAgICAgICJhY3RpdmVfb2ZmZXJfY291
- bnQiOiA4NSwKICAgICAgICAibG9nb191cmwiOiAiaHR0cHM6Ly9zdGF0aWMt
- ZGVtby5hY2Nlc3NkZXZlbG9wbWVudC5jb20vYnJhbmQvNDI5ZWM2ZDE3OTk1
- YzMxYzExNzNiZjQ0OTNkNThmMzQ1MDA1N2Q4Yi9vcmlnaW5hbC5wbmciCiAg
- ICAgIH0KICAgIF0KICB9Cn0=
- http_version:
- recorded_at: Thu, 06 Aug 2015 17:51:03 GMT
-- request:
- method: get
uri: https://offer-demo.adcrws.com/v1/autocomplete?member_key=API_RUBY_GEM_TEST&per_page=1&resources=locations
body:
encoding: US-ASCII
string: ''
headers:
Access-Token:
- - token_without_limit
+ - token_without_filters
Content-Type:
- application/json
Accept:
- application/json
response:
@@ -134,23 +29,27 @@
Cache-Control:
- max-age=0, private, must-revalidate
Content-Type:
- application/json
Date:
- - Fri, 11 Sep 2015 20:33:10 GMT
+ - Wed, 16 Sep 2015 19:53:54 GMT
Etag:
- '"31ddb1bb29169320aef8492c5d01fc3b"'
Server:
- nginx/1.6.2
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
+ X-Ratelimit-Limit:
+ - '1000'
+ X-Ratelimit-Remaining:
+ - '996'
X-Request-Id:
- - 05472e78-9fbf-4335-a269-34c6507bb08d
+ - e1aca17e-3461-4354-a8ad-25db57dc0537
X-Runtime:
- - '0.024906'
+ - '0.025414'
X-Xss-Protection:
- 1; mode=block
Content-Length:
- '332'
Connection:
@@ -165,7 +64,7 @@
bnQiOiA4NSwKICAgICAgICAibG9nb191cmwiOiAiaHR0cHM6Ly9zdGF0aWMt
ZGVtby5hY2Nlc3NkZXZlbG9wbWVudC5jb20vYnJhbmQvNDI5ZWM2ZDE3OTk1
YzMxYzExNzNiZjQ0OTNkNThmMzQ1MDA1N2Q4Yi9vcmlnaW5hbC5wbmciCiAg
ICAgIH0KICAgIF0KICB9Cn0=
http_version:
- recorded_at: Fri, 11 Sep 2015 20:33:10 GMT
+ recorded_at: Wed, 16 Sep 2015 19:53:54 GMT
recorded_with: VCR 2.9.3