Skip to content

Instantly share code, notes, and snippets.

@3den
Created November 14, 2013 02:00
Show Gist options
  • Select an option

  • Save 3den/7460033 to your computer and use it in GitHub Desktop.

Select an option

Save 3den/7460033 to your computer and use it in GitHub Desktop.
describe "it creates the correct wrapper object", ->
assertCount ({
"count": 25,
"key": "e114644",
"length": 25,
"name": "Heavy Rotation Station"
}, 25 );
assertCount = (json, expectation) ->
console.assert(new Rdio(json).count === expectation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment