Sha256: 75b25ac27a335416f9224e2fdd09722e516a0fb6d3b1354f77c528fd397d9393

Contents?: true

Size: 1.72 KB

Versions: 8

Compression:

Stored size: 1.72 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://chef.server/users
    body:
      encoding: ASCII-8BIT
      string: '{"username":"user","first_name":"firstname","last_name":"lastname","display_name":"firstname
        lastname","email":"user@exmaple.com","password":"a"}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      X-Ops-Sign:
      - algorithm=sha1;version=1.0;
      X-Ops-Userid: pivotal
      X-Ops-Timestamp:
      - '2015-04-28T17:39:21Z'
      X-Ops-Content-Hash:
      - "{{X-Ops-Content-Hash}}"
      X-Ops-Authorization-1:
      - "{{X-Ops-Authorization-1}}"
      X-Ops-Authorization-2:
      - "{{X-Ops-Authorization-2}}"
      X-Ops-Authorization-3:
      - "{{X-Ops-Authorization-3}}"
      X-Ops-Authorization-4:
      - "{{X-Ops-Authorization-4}}"
      X-Ops-Authorization-5:
      - "{{X-Ops-Authorization-5}}"
      X-Ops-Authorization-6:
      - "{{X-Ops-Authorization-6}}"
      Host:
      - chef.server:443
      X-Remote-Request-Id:
      - cd8acd59-0f29-459e-b6a7-1772e101c86b
      Content-Length:
      - '145'
      X-Chef-Version:
      - 12.2.1
      User-Agent:
      - ruby
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Server:
      - ngx_openresty/1.4.3.6
      Date:
      - Tue, 28 Apr 2015 17:39:22 GMT
      Content-Length:
      - '54'
      Connection:
      - keep-alive
      X-Ops-Api-Info:
      - flavor=cs;version=12.0.0;oc_erchef=1.5.0
    body:
      encoding: UTF-8
      string: '{"error":["Password must have at least 6 characters"]}'
    http_version:
  recorded_at: Tue, 28 Apr 2015 17:39:22 GMT
recorded_with: VCR 2.9.3

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ogre-0.1.7 spec/fixtures/vcr_cassettes/user-create-short-password.yml
ogre-0.1.6 spec/fixtures/vcr_cassettes/user-create-short-password.yml
ogre-0.1.5 spec/fixtures/vcr_cassettes/user-create-short-password.yml
ogre-0.1.4 spec/fixtures/vcr_cassettes/user-create-short-password.yml
ogre-0.1.3 spec/fixtures/vcr_cassettes/user-create-short-password.yml
ogre-0.1.2 spec/fixtures/vcr_cassettes/user-create-short-password.yml
ogre-0.1.1 spec/fixtures/vcr_cassettes/user-create-short-password.yml
ogre-0.1.0 spec/fixtures/vcr_cassettes/user-create-short-password.yml