{"action":"created","comment":{"url":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/comments/59112079","id":59112079,"diff_hunk":"@@ -0,0 +1,60 @@\n+describe(\"Player\", function() {\n+  var Player = require('../../lib/jasmine_examples/Player');\n+  var Song = require('../../lib/jasmine_examples/Song');\n+  var player;\n+  var song;\n+\n+  beforeEach(function() {\n+    player = new Player();\n+    song = new Song();\n+  });\n+\n+  it(\"should be able to play a Song\", function() {\n+    player.play(song);\n+    expect(player.currentlyPlayingSong).toEqual(song);\n+\n+    //demonstrates use of custom matcher\n+    expect(player).toBePlaying(song);\n+  });\n+\n+  describe(\"when song has been paused\", function() {\n+    beforeEach(function() {\n+      player.play(song);\n+      player.pause();\n+    });\n+\n+    it(\"should indicate that the song is currently paused\", function() {\n+      expect(player.isPlaying).toBeFalsy();\n+\n+      // demonstrates use of 'not' with a custom matcher\n+      expect(player).not.toBePlaying(song);\n+    });\n+\n+    it(\"should be possible to resume\", function() {\n+      player.resume();\n+      expect(player.isPlaying).toBeTruthy();\n+      expect(player.currentlyPlayingSong).toEqual(song);\n+    });\n+  });\n+\n+  // demonstrates use of spies to intercept and test method calls\n+  it(\"tells the current song if the user has made it a favorite\", function() {\n+    spyOn(song, 'persistFavoriteStatus');\n+\n+    player.play(song);\n+    player.makeFavorite();\n+\n+    expect(song.persistFavoriteStatus).toHaveBeenCalledWith(true);\n+  });","path":"node_modules/jasmine-core/lib/jasmine-core/example/node_example/spec/jasmine_examples/PlayerSpec.js","position":48,"original_position":48,"commit_id":"80aad41f29532f72319640c94fbcaaf3cf0756c4","original_commit_id":"80aad41f29532f72319640c94fbcaaf3cf0756c4","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Extra semicolon.","created_at":"2016-04-09T07:54:36Z","updated_at":"2016-04-09T07:54:36Z","html_url":"https://github.com/giftofjehovah/DevHub/pull/2#discussion_r59112079","pull_request_url":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/comments/59112079"},"html":{"href":"https://github.com/giftofjehovah/DevHub/pull/2#discussion_r59112079"},"pull_request":{"href":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/2","id":65874411,"html_url":"https://github.com/giftofjehovah/DevHub/pull/2","diff_url":"https://github.com/giftofjehovah/DevHub/pull/2.diff","patch_url":"https://github.com/giftofjehovah/DevHub/pull/2.patch","issue_url":"https://api.github.com/repos/giftofjehovah/DevHub/issues/2","number":2,"state":"open","locked":false,"title":"Dev","user":{"login":"giftofjehovah","id":9137842,"avatar_url":"https://avatars.githubusercontent.com/u/9137842?v=3","gravatar_id":"","url":"https://api.github.com/users/giftofjehovah","html_url":"https://github.com/giftofjehovah","followers_url":"https://api.github.com/users/giftofjehovah/followers","following_url":"https://api.github.com/users/giftofjehovah/following{/other_user}","gists_url":"https://api.github.com/users/giftofjehovah/gists{/gist_id}","starred_url":"https://api.github.com/users/giftofjehovah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giftofjehovah/subscriptions","organizations_url":"https://api.github.com/users/giftofjehovah/orgs","repos_url":"https://api.github.com/users/giftofjehovah/repos","events_url":"https://api.github.com/users/giftofjehovah/events{/privacy}","received_events_url":"https://api.github.com/users/giftofjehovah/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-09T07:53:55Z","updated_at":"2016-04-09T07:54:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aef7ef99e4223f74a6995c0eb47c92f6ff1e06d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/2/commits","review_comments_url":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/2/comments","review_comment_url":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/giftofjehovah/DevHub/issues/2/comments","statuses_url":"https://api.github.com/repos/giftofjehovah/DevHub/statuses/80aad41f29532f72319640c94fbcaaf3cf0756c4","head":{"label":"giftofjehovah:dev","ref":"dev","sha":"80aad41f29532f72319640c94fbcaaf3cf0756c4","user":{"login":"giftofjehovah","id":9137842,"avatar_url":"https://avatars.githubusercontent.com/u/9137842?v=3","gravatar_id":"","url":"https://api.github.com/users/giftofjehovah","html_url":"https://github.com/giftofjehovah","followers_url":"https://api.github.com/users/giftofjehovah/followers","following_url":"https://api.github.com/users/giftofjehovah/following{/other_user}","gists_url":"https://api.github.com/users/giftofjehovah/gists{/gist_id}","starred_url":"https://api.github.com/users/giftofjehovah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giftofjehovah/subscriptions","organizations_url":"https://api.github.com/users/giftofjehovah/orgs","repos_url":"https://api.github.com/users/giftofjehovah/repos","events_url":"https://api.github.com/users/giftofjehovah/events{/privacy}","received_events_url":"https://api.github.com/users/giftofjehovah/received_events","type":"User","site_admin":false},"repo":{"id":55760211,"name":"DevHub","full_name":"giftofjehovah/DevHub","owner":{"login":"giftofjehovah","id":9137842,"avatar_url":"https://avatars.githubusercontent.com/u/9137842?v=3","gravatar_id":"","url":"https://api.github.com/users/giftofjehovah","html_url":"https://github.com/giftofjehovah","followers_url":"https://api.github.com/users/giftofjehovah/followers","following_url":"https://api.github.com/users/giftofjehovah/following{/other_user}","gists_url":"https://api.github.com/users/giftofjehovah/gists{/gist_id}","starred_url":"https://api.github.com/users/giftofjehovah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giftofjehovah/subscriptions","organizations_url":"https://api.github.com/users/giftofjehovah/orgs","repos_url":"https://api.github.com/users/giftofjehovah/repos","events_url":"https://api.github.com/users/giftofjehovah/events{/privacy}","received_events_url":"https://api.github.com/users/giftofjehovah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/giftofjehovah/DevHub","description":"","fork":false,"url":"https://api.github.com/repos/giftofjehovah/DevHub","forks_url":"https://api.github.com/repos/giftofjehovah/DevHub/forks","keys_url":"https://api.github.com/repos/giftofjehovah/DevHub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giftofjehovah/DevHub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giftofjehovah/DevHub/teams","hooks_url":"https://api.github.com/repos/giftofjehovah/DevHub/hooks","issue_events_url":"https://api.github.com/repos/giftofjehovah/DevHub/issues/events{/number}","events_url":"https://api.github.com/repos/giftofjehovah/DevHub/events","assignees_url":"https://api.github.com/repos/giftofjehovah/DevHub/assignees{/user}","branches_url":"https://api.github.com/repos/giftofjehovah/DevHub/branches{/branch}","tags_url":"https://api.github.com/repos/giftofjehovah/DevHub/tags","blobs_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/refs{/sha}","trees_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giftofjehovah/DevHub/statuses/{sha}","languages_url":"https://api.github.com/repos/giftofjehovah/DevHub/languages","stargazers_url":"https://api.github.com/repos/giftofjehovah/DevHub/stargazers","contributors_url":"https://api.github.com/repos/giftofjehovah/DevHub/contributors","subscribers_url":"https://api.github.com/repos/giftofjehovah/DevHub/subscribers","subscription_url":"https://api.github.com/repos/giftofjehovah/DevHub/subscription","commits_url":"https://api.github.com/repos/giftofjehovah/DevHub/commits{/sha}","git_commits_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/commits{/sha}","comments_url":"https://api.github.com/repos/giftofjehovah/DevHub/comments{/number}","issue_comment_url":"https://api.github.com/repos/giftofjehovah/DevHub/issues/comments{/number}","contents_url":"https://api.github.com/repos/giftofjehovah/DevHub/contents/{+path}","compare_url":"https://api.github.com/repos/giftofjehovah/DevHub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giftofjehovah/DevHub/merges","archive_url":"https://api.github.com/repos/giftofjehovah/DevHub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giftofjehovah/DevHub/downloads","issues_url":"https://api.github.com/repos/giftofjehovah/DevHub/issues{/number}","pulls_url":"https://api.github.com/repos/giftofjehovah/DevHub/pulls{/number}","milestones_url":"https://api.github.com/repos/giftofjehovah/DevHub/milestones{/number}","notifications_url":"https://api.github.com/repos/giftofjehovah/DevHub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giftofjehovah/DevHub/labels{/name}","releases_url":"https://api.github.com/repos/giftofjehovah/DevHub/releases{/id}","deployments_url":"https://api.github.com/repos/giftofjehovah/DevHub/deployments","created_at":"2016-04-08T07:42:33Z","updated_at":"2016-04-09T04:45:15Z","pushed_at":"2016-04-09T07:53:55Z","git_url":"git://github.com/giftofjehovah/DevHub.git","ssh_url":"git@github.com:giftofjehovah/DevHub.git","clone_url":"https://github.com/giftofjehovah/DevHub.git","svn_url":"https://github.com/giftofjehovah/DevHub","homepage":null,"size":142,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"f1"}},"base":{"label":"giftofjehovah:f1","ref":"f1","sha":"d7a8257da994b3dffed97613251a1abb9842b622","user":{"login":"giftofjehovah","id":9137842,"avatar_url":"https://avatars.githubusercontent.com/u/9137842?v=3","gravatar_id":"","url":"https://api.github.com/users/giftofjehovah","html_url":"https://github.com/giftofjehovah","followers_url":"https://api.github.com/users/giftofjehovah/followers","following_url":"https://api.github.com/users/giftofjehovah/following{/other_user}","gists_url":"https://api.github.com/users/giftofjehovah/gists{/gist_id}","starred_url":"https://api.github.com/users/giftofjehovah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giftofjehovah/subscriptions","organizations_url":"https://api.github.com/users/giftofjehovah/orgs","repos_url":"https://api.github.com/users/giftofjehovah/repos","events_url":"https://api.github.com/users/giftofjehovah/events{/privacy}","received_events_url":"https://api.github.com/users/giftofjehovah/received_events","type":"User","site_admin":false},"repo":{"id":55760211,"name":"DevHub","full_name":"giftofjehovah/DevHub","owner":{"login":"giftofjehovah","id":9137842,"avatar_url":"https://avatars.githubusercontent.com/u/9137842?v=3","gravatar_id":"","url":"https://api.github.com/users/giftofjehovah","html_url":"https://github.com/giftofjehovah","followers_url":"https://api.github.com/users/giftofjehovah/followers","following_url":"https://api.github.com/users/giftofjehovah/following{/other_user}","gists_url":"https://api.github.com/users/giftofjehovah/gists{/gist_id}","starred_url":"https://api.github.com/users/giftofjehovah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giftofjehovah/subscriptions","organizations_url":"https://api.github.com/users/giftofjehovah/orgs","repos_url":"https://api.github.com/users/giftofjehovah/repos","events_url":"https://api.github.com/users/giftofjehovah/events{/privacy}","received_events_url":"https://api.github.com/users/giftofjehovah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/giftofjehovah/DevHub","description":"","fork":false,"url":"https://api.github.com/repos/giftofjehovah/DevHub","forks_url":"https://api.github.com/repos/giftofjehovah/DevHub/forks","keys_url":"https://api.github.com/repos/giftofjehovah/DevHub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giftofjehovah/DevHub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giftofjehovah/DevHub/teams","hooks_url":"https://api.github.com/repos/giftofjehovah/DevHub/hooks","issue_events_url":"https://api.github.com/repos/giftofjehovah/DevHub/issues/events{/number}","events_url":"https://api.github.com/repos/giftofjehovah/DevHub/events","assignees_url":"https://api.github.com/repos/giftofjehovah/DevHub/assignees{/user}","branches_url":"https://api.github.com/repos/giftofjehovah/DevHub/branches{/branch}","tags_url":"https://api.github.com/repos/giftofjehovah/DevHub/tags","blobs_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/refs{/sha}","trees_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giftofjehovah/DevHub/statuses/{sha}","languages_url":"https://api.github.com/repos/giftofjehovah/DevHub/languages","stargazers_url":"https://api.github.com/repos/giftofjehovah/DevHub/stargazers","contributors_url":"https://api.github.com/repos/giftofjehovah/DevHub/contributors","subscribers_url":"https://api.github.com/repos/giftofjehovah/DevHub/subscribers","subscription_url":"https://api.github.com/repos/giftofjehovah/DevHub/subscription","commits_url":"https://api.github.com/repos/giftofjehovah/DevHub/commits{/sha}","git_commits_url":"https://api.github.com/repos/giftofjehovah/DevHub/git/commits{/sha}","comments_url":"https://api.github.com/repos/giftofjehovah/DevHub/comments{/number}","issue_comment_url":"https://api.github.com/repos/giftofjehovah/DevHub/issues/comments{/number}","contents_url":"https://api.github.com/repos/giftofjehovah/DevHub/contents/{+path}","compare_url":"https://api.github.com/repos/giftofjehovah/DevHub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giftofjehovah/DevHub/merges","archive_url":"https://api.github.com/repos/giftofjehovah/DevHub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giftofjehovah/DevHub/downloads","issues_url":"https://api.github.com/repos/giftofjehovah/DevHub/issues{/number}","pulls_url":"https://api.github.com/repos/giftofjehovah/DevHub/pulls{/number}","milestones_url":"https://api.github.com/repos/giftofjehovah/DevHub/milestones{/number}","notifications_url":"https://api.github.com/repos/giftofjehovah/DevHub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giftofjehovah/DevHub/labels{/name}","releases_url":"https://api.github.com/repos/giftofjehovah/DevHub/releases{/id}","deployments_url":"https://api.github.com/repos/giftofjehovah/DevHub/deployments","created_at":"2016-04-08T07:42:33Z","updated_at":"2016-04-09T04:45:15Z","pushed_at":"2016-04-09T07:53:55Z","git_url":"git://github.com/giftofjehovah/DevHub.git","ssh_url":"git@github.com:giftofjehovah/DevHub.git","clone_url":"https://github.com/giftofjehovah/DevHub.git","svn_url":"https://github.com/giftofjehovah/DevHub","homepage":null,"size":142,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"f1"}},"_links":{"self":{"href":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/2"},"html":{"href":"https://github.com/giftofjehovah/DevHub/pull/2"},"issue":{"href":"https://api.github.com/repos/giftofjehovah/DevHub/issues/2"},"comments":{"href":"https://api.github.com/repos/giftofjehovah/DevHub/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/giftofjehovah/DevHub/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/giftofjehovah/DevHub/statuses/80aad41f29532f72319640c94fbcaaf3cf0756c4"}}}}