Skip to content

Commit

Permalink
add failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
SebRollen committed Sep 7, 2023
1 parent 65c467d commit d7efeec
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 100 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"http_interactions": [
{
"request": {
"method": "get",
"uri": "https://api.github.com/app/hook/deliveries",
"body": {
"encoding": "US-ASCII",
"base64_string": ""
},
"headers": {
"Accept": [
"application/vnd.github.v3+json"
],
"User-Agent": [
"Octokit Ruby Gem 7.1.0"
],
"Content-Type": [
"application/json"
],
"Authorization": [
"Bearer <JWT_BEARER_TOKEN>"
],
"Accept-Encoding": [
"gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
]
}
},
"response": {
"status": {
"code": 401,
"message": "Unauthorized"
},
"headers": {
"Server": [
"GitHub.com"
],
"Date": [
"Thu, 07 Sep 2023 01:55:07 GMT"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
"102"
],
"X-Github-Media-Type": [
"github.v3; format=json"
],
"Access-Control-Expose-Headers": [
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset"
],
"Access-Control-Allow-Origin": [
"*"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubdomains; preload"
],
"X-Frame-Options": [
"deny"
],
"X-Content-Type-Options": [
"nosniff"
],
"X-Xss-Protection": [
"0"
],
"Referrer-Policy": [
"origin-when-cross-origin, strict-origin-when-cross-origin"
],
"Content-Security-Policy": [
"default-src 'none'"
],
"Vary": [
"Accept-Encoding, Accept, X-Requested-With"
],
"X-Github-Request-Id": [
"D9CB:2887:937315:12B99FA:64F92D7B"
]
},
"body": {
"encoding": "UTF-8",
"base64_string": "eyJtZXNzYWdlIjoiQSBKU09OIHdlYiB0b2tlbiBjb3VsZCBub3QgYmUgZGVj\nb2RlZCIsImRvY3VtZW50YXRpb25fdXJsIjoiaHR0cHM6Ly9kb2NzLmdpdGh1\nYi5jb20vcmVzdCJ9\n"
}
},
"recorded_at": "Thu, 07 Sep 2023 01:55:07 GMT"
}
],
"recorded_with": "VCR 6.2.0"
}
Loading

0 comments on commit d7efeec

Please sign in to comment.