Skip to content

Instantly share code, notes, and snippets.

@gilesbowkett
Created November 14, 2014 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilesbowkett/f029719f7d393ec067c6 to your computer and use it in GitHub Desktop.
Save gilesbowkett/f029719f7d393ec067c6 to your computer and use it in GitHub Desktop.
context.test "Using a full URL for a nested resource", (context) ->
{data} = yield github
.repo
.issues("https://api.github.com/repos/pandastrike/shred/issues")
.list()
assert.equal type(yield data), "array"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment