4 posts tagged
Mint a fixture gist, POST one comment with gh api, list it, DELETE to HTTP 204, prove GET 404, then delete the gist. Never --web.
Star one public gist with gh api PUT /gists/{id}/star, prove starred via HTTP 204 and GET /gists/starred, then DELETE unstar to HTTP 404. Never --web.
Fork a public gist with gh api POST /gists/{id}/forks, clone source and fork with gh gist clone, prove git remotes and REST JSON, then delete the fork.
Create secret and public GitHub gists with gh gist create, files, and --desc, prove description and visibility via REST JSON, then delete both with --yes.