Sha256: 3ca09d6586012df86d170ea7d583fb883659eba95306c35c7822f1e00cdf5508

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 KB

Contents

---
http_interactions:
- request:
    method: put
    uri: http://localhost:4000/store/api/shipments/2/ship
    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:
      - 85d61f8b-bf09-4156-8b84-1713739c72e8
      X-Runtime:
      - '0.075444'
      Server:
      - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
      Date:
      - Thu, 09 Jul 2015 13:39:11 GMT
      Content-Length:
      - '113'
      Connection:
      - Keep-Alive
      Set-Cookie:
      - guest_token=IjRXVG1GczZNcXZpLXJtZDVFQXR6SVEi--92d3f0b704685afd73f415426ac71491cea98365;
        path=/; expires=Mon, 09 Jul 2035 13:39:11 -0000
    body:
      encoding: UTF-8
      string: '{"exception":"Cannot transition state via :ship from :pending (Reason(s):
        State cannot transition via \"ship\")"}'
    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_ship.yml
cq-spree-api-client-0.0.9 fixtures/cassette_library/Spree_API_Client_Shipments/shipment_ready/should_set_a_shipment_to_ship.yml
cq-spree-api-client-0.0.6 fixtures/cassette_library/Spree_API_Client_Shipments/shipment_ready/should_set_a_shipment_to_ship.yml
cq-spree-api-client-0.0.5 fixtures/cassette_library/Spree_API_Client_Shipments/shipment_ready/should_set_a_shipment_to_ship.yml