{"action":"created","issue":{"url":"https://api.github.com/repos/learn-co-curriculum/js-spotify-api-ajax/issues/20","repository_url":"https://api.github.com/repos/learn-co-curriculum/js-spotify-api-ajax","labels_url":"https://api.github.com/repos/learn-co-curriculum/js-spotify-api-ajax/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/learn-co-curriculum/js-spotify-api-ajax/issues/20/comments","events_url":"https://api.github.com/repos/learn-co-curriculum/js-spotify-api-ajax/issues/20/events","html_url":"https://github.com/learn-co-curriculum/js-spotify-api-ajax/issues/20","id":179948850,"number":20,"title":"Regarding the spec test for extractTop10Tracks()","user":{"login":"gj","id":17556281,"avatar_url":"https://avatars.githubusercontent.com/u/17556281?v=3","gravatar_id":"","url":"https://api.github.com/users/gj","html_url":"https://github.com/gj","followers_url":"https://api.github.com/users/gj/followers","following_url":"https://api.github.com/users/gj/following{/other_user}","gists_url":"https://api.github.com/users/gj/gists{/gist_id}","starred_url":"https://api.github.com/users/gj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gj/subscriptions","organizations_url":"https://api.github.com/users/gj/orgs","repos_url":"https://api.github.com/users/gj/repos","events_url":"https://api.github.com/users/gj/events{/privacy}","received_events_url":"https://api.github.com/users/gj/received_events","type":"User","site_admin":false},"labels":[{"id":451833581,"url":"https://api.github.com/repos/learn-co-curriculum/js-spotify-api-ajax/labels/Curriculum","name":"Curriculum","color":"7edaff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-29T04:14:25Z","updated_at":"2016-12-01T19:43:33Z","closed_at":null,"body":"https://github.com/learn-co-curriculum/js-spotify-api-ajax/blob/master/spec/spotify-chart.spec.js#L7\n\nI believe the `spotifyData.tracks` parameter passed into the `extractTop10Tracks` expectation here...\n\n```\ndescribe(\"#extractTop10Tracks\", function() {\n  it(\"returns the first 10 tracks from the tracks array\", function(){\n    expect(extractTop10Tracks(spotifyData.tracks).length).toEqual(10);\n  });\n});\n```\n\n...should be plain, old `spotifyData`. Isn't the whole purpose of the `extractTop10Tracks()` function to return an array of tracks culled from the JSON object retrieved from Spotify?\n"},"comment":{"url":"https://api.github.com/repos/learn-co-curriculum/js-spotify-api-ajax/issues/comments/264273394","html_url":"https://github.com/learn-co-curriculum/js-spotify-api-ajax/issues/20#issuecomment-264273394","issue_url":"https://api.github.com/repos/learn-co-curriculum/js-spotify-api-ajax/issues/20","id":264273394,"user":{"login":"gj","id":17556281,"avatar_url":"https://avatars.githubusercontent.com/u/17556281?v=3","gravatar_id":"","url":"https://api.github.com/users/gj","html_url":"https://github.com/gj","followers_url":"https://api.github.com/users/gj/followers","following_url":"https://api.github.com/users/gj/following{/other_user}","gists_url":"https://api.github.com/users/gj/gists{/gist_id}","starred_url":"https://api.github.com/users/gj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gj/subscriptions","organizations_url":"https://api.github.com/users/gj/orgs","repos_url":"https://api.github.com/users/gj/repos","events_url":"https://api.github.com/users/gj/events{/privacy}","received_events_url":"https://api.github.com/users/gj/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T19:43:33Z","updated_at":"2016-12-01T19:43:33Z","body":"cc: @cernanb "}}
{"actor":{"display_login":"gj"}}