test/fixtures/autocomplete_search_stores.yml in access-2.0.7 vs test/fixtures/autocomplete_search_stores.yml in access-2.0.8

- old
+ new

@@ -1,127 +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=stores - 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:01 GMT - Server: - - nginx/1.6.2 - Strict-Transport-Security: - - max-age=31536000 - X-Request-Id: - - c65aa250-6547-4f34-8afc-e361dd2b3345 - X-Runtime: - - '0.000252' - Content-Length: - - '155' - 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=stores''"}' - http_version: - recorded_at: Thu, 06 Aug 2015 17:30:01 GMT -- request: - method: get - uri: https://offer-demo.adcrws.com/v1/autocomplete?member_key=guest&per_page=1&resources=stores - 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: - - '"670e144143266937250ca03cf44a90f1"' - Server: - - nginx/1.6.2 - Strict-Transport-Security: - - max-age=31536000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - SAMEORIGIN - X-Request-Id: - - 57c87c91-2caf-4864-b875-21f0f642f986 - X-Runtime: - - '0.017682' - X-Xss-Protection: - - 1; mode=block - Content-Length: - - '357' - Connection: - - keep-alive - body: - encoding: UTF-8 - string: |- - { - "suggestions": { - "query": "*", - "stores": [ - { - "store_name": "Holiday Inn Express", - "store_key": 18987225, - "active_offer_count": 4143, - "active_location_count": 2125, - "logo_url": "https://static-demo.accessdevelopment.com/brand/ec6ba1ada0a010a8349931ec90e1c4620566ea8c/original.png" - } - ] - } - } - 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=stores body: encoding: US-ASCII string: '' headers: Access-Token: - - token_without_limit + - token_without_filters Content-Type: - application/json Accept: - application/json response: @@ -140,44 +29,48 @@ 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: - - '"94be48e1efdb35ed4c479bc98c8ee235"' + - '"08956181a96a9f3bc89d47f5a54ddc94"' Server: - nginx/1.6.2 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - '1000' + X-Ratelimit-Remaining: + - '995' X-Request-Id: - - 7bfee8f3-64fc-419e-a48a-7fe7ca70db40 + - 953ded05-8d5a-4553-ac88-61f15e8b104e X-Runtime: - - '0.025952' + - '0.019105' X-Xss-Protection: - 1; mode=block Content-Length: - - '350' + - '362' Connection: - keep-alive body: encoding: UTF-8 string: |- { "suggestions": { "query": "*", "stores": [ { - "store_name": "Best Western", - "store_key": 18938146, - "active_offer_count": 4166, - "active_location_count": 4143, - "logo_url": "https://static-demo.accessdevelopment.com/brand/4b7ea57028e8687857b509d711bd6b6c096a7b19/original.png" + "store_name": "Spafinder Wellness 365", + "store_key": 18939302, + "active_offer_count": 17165, + "active_location_count": 17165, + "logo_url": "https://static-demo.accessdevelopment.com/brand/6bbaa1000c933a5e91fa8f3113609e6c8ff19fdd/original.png" } ] } } 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