Sha256: 9de1da029e1641f6c6d339d7103c7c27bcee052052a94a6fc55d9cf1b1868c0c

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://basecamp.com/2274488/api/v1/projects.json
    body:
      encoding: UTF-8
      string: ! '{"name":""}'
    headers:
      User-Agent:
      - Faraday v0.8.7
      Authorization:
      - Basic YmN4LXRlc3QtdXNlcjpzZWNyZXQ=
      Content-Type:
      - application/json
  response:
    status:
      code: 422
      message: 
    headers:
      server:
      - nginx
      date:
      - Fri, 21 Jun 2013 21:32:47 GMT
      content-type:
      - application/json; charset=utf-8
      transfer-encoding:
      - chunked
      connection:
      - close
      status:
      - 422 Unprocessable Entity
      x-frame-options:
      - SAMEORIGIN
      x-xss-protection:
      - 1; mode=block
      x-content-type-options:
      - nosniff
      x-ua-compatible:
      - chrome=1
      x-xhr-current-location:
      - /2274488/api/v1/projects.json
      x-asset-paths:
      - ! '{"application.js":"application-eb8afc75ba8fcbb36b8518826dd32bc5.js","application.css":"application-18059b31e3ebdcca82003cfaf2564179.css"}'
      cache-control:
      - no-cache
      x-request-id:
      - e203c487-d807-41b5-afd6-4f709fcb35e3
      x-runtime:
      - '0.145644'
    body:
      encoding: US-ASCII
      string: ! '{"name":["can''t be blank","can''t be duplicate"]}'
    http_version: 
  recorded_at: Fri, 21 Jun 2013 21:32:47 GMT
recorded_with: VCR 2.5.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bcx-1.1.0 spec/cassettes/Bcx_Client/error_handling/should_raise_exception_with_array_error.yml