OctoFetcher spec: The new assignees field

This commit is contained in:
Olle Jonsson 2016-07-02 16:16:47 +02:00
parent 49b62a9d23
commit 8769ced74e
14 changed files with 16 additions and 0 deletions

View File

@ -173,6 +173,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
"state" => "closed", "state" => "closed",
"locked" => false, "locked" => false,
"assignee" => nil, "assignee" => nil,
"assignees" => [],
"milestone" => nil, "milestone" => nil,
"comments" => 0, "comments" => 0,
"created_at" => "2015-07-16T12:06:08Z", "created_at" => "2015-07-16T12:06:08Z",
@ -228,6 +229,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
"state" => "closed", "state" => "closed",
"locked" => false, "locked" => false,
"assignee" => nil, "assignee" => nil,
"assignees" => [],
"milestone" => nil, "milestone" => nil,
"comments" => 0, "comments" => 0,
"created_at" => "2016-01-05T09:24:08Z", "created_at" => "2016-01-05T09:24:08Z",
@ -320,6 +322,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
"state" => "closed", "state" => "closed",
"locked" => false, "locked" => false,
"assignee" => nil, "assignee" => nil,
"assignees" => [],
"milestone" => nil, "milestone" => nil,
"comments" => 0, "comments" => 0,
"created_at" => "2015-07-16T12:06:08Z", "created_at" => "2015-07-16T12:06:08Z",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/repos/skywinder/changelog_test/tags?per_page=100","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 4.3.0"],"Content-Type":["application/json"],"Authorization":["token 0000000000000000"],"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":["Sat, 02 Jul 2016 14:13:57 GMT"],"Content-Type":["application/json; charset=utf-8"],"Content-Length":["83"],"Status":["401 Unauthorized"],"X-Github-Media-Type":["github.v3; format=json"],"X-Ratelimit-Limit":["60"],"X-Ratelimit-Remaining":["59"],"X-Ratelimit-Reset":["1467472437"],"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":["*"],"Content-Security-Policy":["default-src 'none'"],"Strict-Transport-Security":["max-age=31536000; includeSubdomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Frame-Options":["deny"],"X-Xss-Protection":["1; mode=block"],"X-Github-Request-Id":["54DBAB83:300E:76DBC85:5777CC25"]},"body":{"encoding":"UTF-8","base64_string":"eyJtZXNzYWdlIjoiQmFkIGNyZWRlbnRpYWxzIiwiZG9jdW1lbnRhdGlvbl91\ncmwiOiJodHRwczovL2RldmVsb3Blci5naXRodWIuY29tL3YzIn0=\n"},"http_version":null},"recorded_at":"Sat, 02 Jul 2016 14:13:58 GMT"}],"recorded_with":"VCR 3.0.1"}