diff --git a/test/fixture/vcr_cassettes/members#list_with_params.json b/test/fixture/vcr_cassettes/members#list_with_params.json new file mode 100644 index 0000000..4168791 --- /dev/null +++ b/test/fixture/vcr_cassettes/members#list_with_params.json @@ -0,0 +1,46 @@ +[ + { + "request": { + "body": "\"\"", + "headers": { + "User-agent": "tentacat", + "Authorization": "token yourtokencomeshere" + }, + "method": "get", + "options": [], + "request_body": "", + "url": "https://api.github.com/orgs/dwyl/members?page=2" + }, + "response": { + "body": "[{\"login\":\"josephwilk\",\"id\":9792,\"avatar_url\":\"https://avatars.githubusercontent.com/u/9792?v=3\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/josephwilk\",\"html_url\":\"https://github.com/josephwilk\",\"followers_url\":\"https://api.github.com/users/josephwilk/followers\",\"following_url\":\"https://api.github.com/users/josephwilk/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/josephwilk/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/josephwilk/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/josephwilk/subscriptions\",\"organizations_url\":\"https://api.github.com/users/josephwilk/orgs\",\"repos_url\":\"https://api.github.com/users/josephwilk/repos\",\"events_url\":\"https://api.github.com/users/josephwilk/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/josephwilk/received_events\",\"type\":\"User\",\"site_admin\":false}]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Dec 2015 22:17:43 GMT", + "Content-Type": "application/json; charset=utf-8", + "Content-Length": "1739", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1449785982", + "Cache-Control": "private, max-age=60, s-maxage=60", + "ETag": "\"7a18009ec36ef8d2939950529c9a7fa5\"", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-XSS-Protection": "1; mode=block", + "X-Frame-Options": "deny", + "Content-Security-Policy": "default-src 'none'", + "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": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Content-Type-Options": "nosniff", + "X-Served-By": "4c8b2d4732c413f4b9aefe394bd65569", + "X-GitHub-Request-Id": "5F5BD13E:A39A:484FE95:5669FA06" + }, + "status_code": 200, + "type": "ok" + } + } +]