Sha256: f7683e7910f07ce6e43d30788f57b8c2acb53e7a10e2f6395fdc4a2d4bb61044

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:9292/nodes/users
    body:
      encoding: UTF-8
      string: ! '{"test":"user"}'
    headers:
      Accept:
      - ! '*/*; q=0.5, application/xml'
      Accept-Encoding:
      - gzip, deflate
      Content-Type:
      - application/json
      Content-Length:
      - '15'
      User-Agent:
      - Ruby
  response:
    status:
      code: 201
      message: ! 'Created '
    headers:
      X-Frame-Options:
      - sameorigin
      X-Xss-Protection:
      - 1; mode=block
      Content-Type:
      - application/json;charset=utf-8
      Content-Length:
      - '101'
      Cache-Control:
      - no-cache
      Access-Control-Allow-Origin:
      - ! '*'
      Access-Control-Allow-Methods:
      - GET, POST, OPTIONS, PUT
      Access-Control-Allow-Headers:
      - Content-Type
      Access-Control-Max-Age:
      - '86400'
      Server:
      - WEBrick/1.3.1 (Ruby/1.9.2/2012-02-22)
      Date:
      - Mon, 18 Feb 2013 16:16:18 GMT
      Connection:
      - Keep-Alive
    body:
      encoding: US-ASCII
      string: ! '{"id":816651,"type":"User","created_at":1361204178,"updated_at":1361204178,"payload":{"test":"user"}}'
    http_version: 
  recorded_at: Mon, 18 Feb 2013 16:16:18 GMT
recorded_with: VCR 2.4.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec_api_test-0.0.2 spec/fixtures/json_hash.yml
rspec_api_test-0.0.1 spec/fixtures/json_hash.yml