Sha256: a1b8314940c6313dd0c252fb588081d51b23a181e2e67c4b9bb6339bcd70a60e

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

---
http_interactions:
- request:
    method: put
    uri: http://localhost:4000/store/api/shipments/2/ready
    body:
      encoding: UTF-8
      string: '{"locale":"en-US"}'
    headers:
      User-Agent:
      - Faraday v0.9.1
      Accept:
      - application/json
      X-Spree-Token:
      - b56019f04b61a50553ee323f5ab68c6b435871971e79c987
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 422
      message: 'Unprocessable Entity '
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - application/json; charset=utf-8
      Cache-Control:
      - no-cache
      X-Request-Id:
      - b403d2ba-bfbb-46aa-8692-cac9fb624a75
      X-Runtime:
      - '0.300253'
      Server:
      - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
      Date:
      - Thu, 09 Jul 2015 13:39:11 GMT
      Content-Length:
      - '34'
      Connection:
      - Keep-Alive
      Set-Cookie:
      - guest_token=InhKc1l6aWZ0Zk5tbUdrRnE3WDNvVkEi--7cd1f441cd9817d44fd312cc13b5b47d9b92057c;
        path=/; expires=Mon, 09 Jul 2035 13:39:11 -0000
    body:
      encoding: UTF-8
      string: '{"error":"Cannot ready shipment."}'
    http_version: 
  recorded_at: Thu, 09 Jul 2015 13:39:11 GMT
recorded_with: VCR 2.9.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cq-spree-api-client-0.0.10 fixtures/cassette_library/Spree_API_Client_Shipments/shipment_ready/should_set_a_shipment_to_ready.yml
cq-spree-api-client-0.0.9 fixtures/cassette_library/Spree_API_Client_Shipments/shipment_ready/should_set_a_shipment_to_ready.yml
cq-spree-api-client-0.0.6 fixtures/cassette_library/Spree_API_Client_Shipments/shipment_ready/should_set_a_shipment_to_ready.yml
cq-spree-api-client-0.0.5 fixtures/cassette_library/Spree_API_Client_Shipments/shipment_ready/should_set_a_shipment_to_ready.yml