test/fixtures/store_search.yml in access-2.0.7 vs test/fixtures/store_search.yml in access-2.0.8
- old
+ new
@@ -1,146 +1,16 @@
---
http_interactions:
- request:
method: get
- uri: https://offer-demo.adcrws.com/v1/stores
- body:
- encoding: UTF-8
- string: member_key=guest&per_page=1
- 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:04 GMT
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Request-Id:
- - b6abf83a-99cc-41ea-9f71-964fc3848b23
- X-Runtime:
- - '0.000267'
- Content-Length:
- - '133'
- 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''"}'
- http_version:
- recorded_at: Thu, 06 Aug 2015 17:30:04 GMT
-- request:
- method: get
- uri: https://offer-demo.adcrws.com/v1/stores?member_key=guest&per_page=1
- 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:05 GMT
- Etag:
- - '"bc08b519982f4f9794d854e0f6ca9a67"'
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Content-Type-Options:
- - nosniff
- X-Frame-Options:
- - SAMEORIGIN
- X-Request-Id:
- - 0f8aa96a-3735-48e5-9ea6-1d06e9884b15
- X-Runtime:
- - '0.017632'
- X-Xss-Protection:
- - 1; mode=block
- Content-Length:
- - '1452'
- Connection:
- - keep-alive
- body:
- encoding: ASCII-8BIT
- string: !binary |-
- ewogICJpbmZvIjogewogICAgInRvdGFsX3Jlc3VsdHMiOiAyNTQyNCwKICAg
- ICJjdXJyZW50X3BhZ2UiOiAxLAogICAgInRvdGFsX3BhZ2VzIjogMjU0MjQs
- CiAgICAicmVzdWx0c19wZXJfcGFnZSI6IDEKICB9LAogICJzdG9yZXMiOiBb
- CiAgICB7CiAgICAgICJzZWFyY2hfcmVsZXZhbmNlIjogMS4wLAogICAgICAi
- c3RvcmVfa2V5IjogMjE5NTU4ODM1LAogICAgICAibmFtZSI6ICJDcmVla3dv
- b2QgVmV0ZXJpbmFyeSBIb3NwaXRhbCIsCiAgICAgICJkZXNjcmlwdGlvbiI6
- ICJDcmVla3dvb2QgVmV0ZXJpbmFyeSBIb3NwaXRhbMKgIHByb3ZpZGVzIG91
- dHN0YW5kaW5nIHZldGVyaW5hcnkgbWVkaWNhbCBhbmQgc3VyZ2ljYWwgY2Fy
- ZSwgaW5jbHVkaW5nIGxhc2VyIHN1cmdlcnkgYW5kIHRoZXJhcHkuIFNlcnZp
- Y2VzIGluY2x1ZGUgbWVkaWNpbmUsIGRpYWdub3N0aWNzLCBkZW50aXN0cnks
- IGxhc2VyIGFuZCBjb252ZW50aW9uYWwgc3VyZ2VyeSwgdGhlcmFwZXV0aWMg
- bGFzZXIgdHJlYXRtZW50LCBsaW1pdGVkIGdyb29taW5nLCBhbmQgcHJvZHVj
- dHMgZm9yIHBldCBoZWFsdGggY2FyZS4iLAogICAgICAibG9nb191cmwiOiAi
- aHR0cHM6Ly9zdGF0aWMtZGVtby5hY2Nlc3NkZXZlbG9wbWVudC5jb20vYnJh
- bmQvNTY5YWNhYTRlNGFmYjVjYzU4NDRmY2U1NmFlZmQ2ZDhhOTQxZTk4NC9v
- cmlnaW5hbC5wbmciLAogICAgICAibmF0aW9uYWwiOiBmYWxzZSwKICAgICAg
- ImFjdGl2ZV9sb2NhdGlvbl9jb3VudCI6IDEsCiAgICAgICJhY3RpdmVfb2Zm
- ZXJfY291bnQiOiAxLAogICAgICAic3RvcmVfY2F0ZWdvcmllcyI6IFsKICAg
- ICAgICB7CiAgICAgICAgICAiY2F0ZWdvcnlfbmFtZSI6ICJTZXJ2aWNlcyIs
- CiAgICAgICAgICAiY2F0ZWdvcnlfa2V5IjogNTAsCiAgICAgICAgICAiY2F0
- ZWdvcnlfcGFyZW50X2tleSI6IG51bGwsCiAgICAgICAgICAiY2F0ZWdvcnlf
- cGFyZW50X25hbWUiOiBudWxsLAogICAgICAgICAgImNhdGVnb3J5X3R5cGUi
- OiAiY2F0ZWdvcnkiCiAgICAgICAgfQogICAgICBdLAogICAgICAibGlua3Mi
- OiB7CiAgICAgICAgInNob3dfc3RvcmUiOiAiaHR0cHM6Ly9vZmZlci1kZW1v
- LmFkY3J3cy5jb20vdjEvc3RvcmVzLzIxOTU1ODgzNSIsCiAgICAgICAgImZp
- bmRfb2ZmZXJzX2Zvcl90aGlzX3N0b3JlIjogImh0dHBzOi8vb2ZmZXItZGVt
- by5hZGNyd3MuY29tL3YxL29mZmVycz9zdG9yZV9rZXk9MjE5NTU4ODM1IiwK
- ICAgICAgICAiZmluZF9sb2NhdGlvbnNfZm9yX3RoaXNfc3RvcmUiOiAiaHR0
- cHM6Ly9vZmZlci1kZW1vLmFkY3J3cy5jb20vdjEvbG9jYXRpb25zP3N0b3Jl
- X2tleT0yMTk1NTg4MzUiCiAgICAgIH0KICAgIH0KICBdLAogICJsaW5rcyI6
- IHsKICAgICJuZXh0X3BhZ2UiOiAiaHR0cHM6Ly9vZmZlci1kZW1vLmFkY3J3
- cy5jb20vdjEvc3RvcmVzP21lbWJlcl9rZXk9Z3Vlc3QmcGFnZT0yJnBlcl9w
- YWdlPTEiCiAgfQp9
- http_version:
- recorded_at: Thu, 06 Aug 2015 17:51:05 GMT
-- request:
- method: get
uri: https://offer-demo.adcrws.com/v1/stores?member_key=API_RUBY_GEM_TEST&per_page=1
body:
encoding: US-ASCII
string: ''
headers:
Access-Token:
- - token_without_limit
+ - token_without_filters
Content-Type:
- application/json
Accept:
- application/json
response:
@@ -159,23 +29,27 @@
Cache-Control:
- max-age=0, private, must-revalidate
Content-Type:
- application/json
Date:
- - Fri, 11 Sep 2015 20:33:22 GMT
+ - Wed, 16 Sep 2015 19:54:01 GMT
Etag:
- '"35ba8d15d7773b5a5f28410567cc8ae8"'
Server:
- nginx/1.6.2
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
+ X-Ratelimit-Limit:
+ - '1000'
+ X-Ratelimit-Remaining:
+ - '976'
X-Request-Id:
- - 9d6a6662-f1e4-4a1a-bbe1-7fa97fad1bdf
+ - 6c916ebb-c552-41c6-96be-e906e1b7df16
X-Runtime:
- - '0.018896'
+ - '0.021473'
X-Xss-Protection:
- 1; mode=block
Content-Length:
- '1565'
Connection:
@@ -219,7 +93,7 @@
"links": {
"next_page": "https://offer-demo.adcrws.com/v1/stores?member_key=API_RUBY_GEM_TEST&page=2&per_page=1"
}
}
http_version:
- recorded_at: Fri, 11 Sep 2015 20:33:22 GMT
+ recorded_at: Wed, 16 Sep 2015 19:54:01 GMT
recorded_with: VCR 2.9.3