Sha256: 7a30a7f1c4c65d8034561a49994fc3cbc1fcf9dc97a844991a55a69b569f4372

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://elikem:password@api.github.com/user/repos
    body:
      encoding: UTF-8
      string: '{"name":"test_repo","description":"description"}'
    headers:
      User-Agent:
      - Githubrepo
      Content-Type:
      - application/json
      Accept:
      - application/json
  response:
    status:
      code: 422
      message: Unprocessable Entity
    headers:
      Server:
      - GitHub.com
      Date:
      - Sun, 14 Sep 2014 16:09:37 GMT
      Content-Type:
      - application/json; charset=utf-8
      Status:
      - 422 Unprocessable Entity
      X-Ratelimit-Limit:
      - '5000'
      X-Ratelimit-Remaining:
      - '4997'
      X-Ratelimit-Reset:
      - '1410714252'
      X-Github-Media-Type:
      - github.v3
      X-Xss-Protection:
      - 1; mode=block
      X-Frame-Options:
      - deny
      Content-Security-Policy:
      - default-src 'none'
      Content-Length:
      - '215'
      Access-Control-Allow-Credentials:
      - 'true'
      Access-Control-Expose-Headers:
      - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
        X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
      Access-Control-Allow-Origin:
      - "*"
      X-Github-Request-Id:
      - 6372ADE0:3B40:D856EA:5415BDC1
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains; preload
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: UTF-8
      string: '{"message":"Validation Failed","documentation_url":"https://developer.github.com/v3/repos/#create","errors":[{"resource":"Repository","code":"custom","field":"name","message":"name
        already exists on this account"}]}'
    http_version: 
  recorded_at: Sun, 14 Sep 2014 16:09:37 GMT
recorded_with: VCR 2.9.2

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
githubrepo-0.3.0 spec/fixtures/vcr_cassettes/create_a_existing_repository.yml