{"action":"created","comment":{"url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/comments/74551487","id":74551487,"diff_hunk":"@@ -131,73 +193,116 @@ describe(\"ModalMissionComplete\", function () {\n \n     describe(\"`_updateMissionProgressStatistics` method\", function () {\n         it(\"should set the distance traveled in the current mission\", function () {\n-            modalMissionComplete._updateMissionProgressStatistics(0.38, 0.76, 9.24, \"miles\");\n+            modal._updateMissionProgressStatistics(0.38, 0.76, 9.24, \"miles\");\n             expect(uiModalMissionComplete.missionDistance.text()).toBe(\"0.4 miles\");\n         });\n \n         it(\"should set the cumulative distance traveled in the current neighborhood\", function () {\n-            modalMissionComplete._updateMissionProgressStatistics(0.38, 0.76, 9.24, \"miles\");\n+            modal._updateMissionProgressStatistics(0.38, 0.76, 9.24, \"miles\");\n             expect(uiModalMissionComplete.totalAuditedDistance.text()).toBe(\"0.8 miles\");\n         });\n \n-        it(\"should set the remaining distance to audit in the current neighborhodo\", function () {\n-            modalMissionComplete._updateMissionProgressStatistics(0.38, 0.76, 9.24, \"miles\");\n+        it(\"should set the remaining distance to audit in the current neighborhood\", function () {\n+            modal._updateMissionProgressStatistics(0.38, 0.76, 9.24, \"miles\");\n             expect(uiModalMissionComplete.remainingDistance.text()).toBe(\"9.2 miles\");\n \n-            modalMissionComplete._updateMissionProgressStatistics(1.1, 10.1, -0.1, \"miles\");\n+            modal._updateMissionProgressStatistics(1.1, 10.1, -0.1, \"miles\");\n             expect(uiModalMissionComplete.remainingDistance.text()).toBe(\"0.0 miles\");\n         });\n     });\n \n-    // describe(\"clicking the 'Continue' button\", function () {\n-    //     beforeEach(function () {\n-    //         spyOn(modalMissionComplete, 'hide');\n-    //         modalMissionComplete.show();\n-    //         uiModalMissionComplete.closeButton.trigger('click');\n-    //     });\n-    //\n-    //     it(\"should trigger the 'hide' method\", function (done) {\n-    //         expect(modalMissionComplete.hide).toHaveBeenCalled();\n-    //         done();\n-    //     });\n-    //\n-    //     it(\"should open the modal window for the next mission\", function (done) {\n-    //         expect(modalMissionMock.isOpen()).toBe(true);\n-    //         done();\n-    //     });\n-    // });\n+    describe(\"setMissionTitle method\", function () {\n+        it(\"should change the text in the title html\", function(){\n+            expect(uiModalMissionComplete.missionTitle.html()).toBe('');\n+            modal.setMissionTitle(\"Test Title\");\n+            expect(uiModalMissionComplete.missionTitle.html()).toBe(\"Test Title\");\n+            });\n+    });\n \n-    // Mocks\n-    function MissionMock () {","path":"public/javascripts/SVLabel/spec/SVLabel/modal/ModalMissionComplete-spec.js","position":307,"original_position":307,"commit_id":"8727bb02cfe3a740c36f8b89a2bb6c8b0e060b3c","original_commit_id":"8727bb02cfe3a740c36f8b89a2bb6c8b0e060b3c","user":{"login":"kotarohara","id":612263,"avatar_url":"https://avatars.githubusercontent.com/u/612263?v=3","gravatar_id":"","url":"https://api.github.com/users/kotarohara","html_url":"https://github.com/kotarohara","followers_url":"https://api.github.com/users/kotarohara/followers","following_url":"https://api.github.com/users/kotarohara/following{/other_user}","gists_url":"https://api.github.com/users/kotarohara/gists{/gist_id}","starred_url":"https://api.github.com/users/kotarohara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kotarohara/subscriptions","organizations_url":"https://api.github.com/users/kotarohara/orgs","repos_url":"https://api.github.com/users/kotarohara/repos","events_url":"https://api.github.com/users/kotarohara/events{/privacy}","received_events_url":"https://api.github.com/users/kotarohara/received_events","type":"User","site_admin":false},"body":"Why did you delete the MissionMock? It wasn't used?","created_at":"2016-08-12T07:33:38Z","updated_at":"2016-08-12T07:33:38Z","html_url":"https://github.com/ProjectSidewalk/SidewalkWebpage/pull/208#discussion_r74551487","pull_request_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/208","_links":{"self":{"href":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/comments/74551487"},"html":{"href":"https://github.com/ProjectSidewalk/SidewalkWebpage/pull/208#discussion_r74551487"},"pull_request":{"href":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/208"}}},"pull_request":{"url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/208","id":81055618,"html_url":"https://github.com/ProjectSidewalk/SidewalkWebpage/pull/208","diff_url":"https://github.com/ProjectSidewalk/SidewalkWebpage/pull/208.diff","patch_url":"https://github.com/ProjectSidewalk/SidewalkWebpage/pull/208.patch","issue_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues/208","number":208,"state":"open","locked":false,"title":"ModalMissionComplete Tests","user":{"login":"danZzyy","id":13355765,"avatar_url":"https://avatars.githubusercontent.com/u/13355765?v=3","gravatar_id":"","url":"https://api.github.com/users/danZzyy","html_url":"https://github.com/danZzyy","followers_url":"https://api.github.com/users/danZzyy/followers","following_url":"https://api.github.com/users/danZzyy/following{/other_user}","gists_url":"https://api.github.com/users/danZzyy/gists{/gist_id}","starred_url":"https://api.github.com/users/danZzyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danZzyy/subscriptions","organizations_url":"https://api.github.com/users/danZzyy/orgs","repos_url":"https://api.github.com/users/danZzyy/repos","events_url":"https://api.github.com/users/danZzyy/events{/privacy}","received_events_url":"https://api.github.com/users/danZzyy/received_events","type":"User","site_admin":false},"body":"![image](https://cloud.githubusercontent.com/assets/13355765/17610045/59cc7a0a-6008-11e6-8dcf-e27e3109882f.png)\r\n","created_at":"2016-08-12T01:12:48Z","updated_at":"2016-08-12T07:33:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6d1ad1d122a77b1bac213cf645b1a9d7b56982e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/208/commits","review_comments_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/208/comments","review_comment_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues/208/comments","statuses_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/statuses/8727bb02cfe3a740c36f8b89a2bb6c8b0e060b3c","head":{"label":"ProjectSidewalk:modal-spec2","ref":"modal-spec2","sha":"8727bb02cfe3a740c36f8b89a2bb6c8b0e060b3c","user":{"login":"ProjectSidewalk","id":14115044,"avatar_url":"https://avatars.githubusercontent.com/u/14115044?v=3","gravatar_id":"","url":"https://api.github.com/users/ProjectSidewalk","html_url":"https://github.com/ProjectSidewalk","followers_url":"https://api.github.com/users/ProjectSidewalk/followers","following_url":"https://api.github.com/users/ProjectSidewalk/following{/other_user}","gists_url":"https://api.github.com/users/ProjectSidewalk/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectSidewalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectSidewalk/subscriptions","organizations_url":"https://api.github.com/users/ProjectSidewalk/orgs","repos_url":"https://api.github.com/users/ProjectSidewalk/repos","events_url":"https://api.github.com/users/ProjectSidewalk/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectSidewalk/received_events","type":"Organization","site_admin":false},"repo":{"id":39593035,"name":"SidewalkWebpage","full_name":"ProjectSidewalk/SidewalkWebpage","owner":{"login":"ProjectSidewalk","id":14115044,"avatar_url":"https://avatars.githubusercontent.com/u/14115044?v=3","gravatar_id":"","url":"https://api.github.com/users/ProjectSidewalk","html_url":"https://github.com/ProjectSidewalk","followers_url":"https://api.github.com/users/ProjectSidewalk/followers","following_url":"https://api.github.com/users/ProjectSidewalk/following{/other_user}","gists_url":"https://api.github.com/users/ProjectSidewalk/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectSidewalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectSidewalk/subscriptions","organizations_url":"https://api.github.com/users/ProjectSidewalk/orgs","repos_url":"https://api.github.com/users/ProjectSidewalk/repos","events_url":"https://api.github.com/users/ProjectSidewalk/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectSidewalk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ProjectSidewalk/SidewalkWebpage","description":"Project Sidewalk web page","fork":false,"url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage","forks_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/forks","keys_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/teams","hooks_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/hooks","issue_events_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues/events{/number}","events_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/events","assignees_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/assignees{/user}","branches_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/branches{/branch}","tags_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/tags","blobs_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/statuses/{sha}","languages_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/languages","stargazers_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/stargazers","contributors_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/contributors","subscribers_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/subscribers","subscription_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/subscription","commits_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/contents/{+path}","compare_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/merges","archive_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/downloads","issues_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues{/number}","pulls_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls{/number}","milestones_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/milestones{/number}","notifications_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/labels{/name}","releases_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/releases{/id}","deployments_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/deployments","created_at":"2015-07-23T21:09:48Z","updated_at":"2016-06-16T21:51:26Z","pushed_at":"2016-08-12T01:12:48Z","git_url":"git://github.com/ProjectSidewalk/SidewalkWebpage.git","ssh_url":"git@github.com:ProjectSidewalk/SidewalkWebpage.git","clone_url":"https://github.com/ProjectSidewalk/SidewalkWebpage.git","svn_url":"https://github.com/ProjectSidewalk/SidewalkWebpage","homepage":"https://sidewalk.umiacs.umd.edu/","size":79645,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":45,"forks":1,"open_issues":45,"watchers":5,"default_branch":"master"}},"base":{"label":"ProjectSidewalk:master","ref":"master","sha":"f65eaf9b8643710a8d9721aafa3fa1bdf00d3bb5","user":{"login":"ProjectSidewalk","id":14115044,"avatar_url":"https://avatars.githubusercontent.com/u/14115044?v=3","gravatar_id":"","url":"https://api.github.com/users/ProjectSidewalk","html_url":"https://github.com/ProjectSidewalk","followers_url":"https://api.github.com/users/ProjectSidewalk/followers","following_url":"https://api.github.com/users/ProjectSidewalk/following{/other_user}","gists_url":"https://api.github.com/users/ProjectSidewalk/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectSidewalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectSidewalk/subscriptions","organizations_url":"https://api.github.com/users/ProjectSidewalk/orgs","repos_url":"https://api.github.com/users/ProjectSidewalk/repos","events_url":"https://api.github.com/users/ProjectSidewalk/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectSidewalk/received_events","type":"Organization","site_admin":false},"repo":{"id":39593035,"name":"SidewalkWebpage","full_name":"ProjectSidewalk/SidewalkWebpage","owner":{"login":"ProjectSidewalk","id":14115044,"avatar_url":"https://avatars.githubusercontent.com/u/14115044?v=3","gravatar_id":"","url":"https://api.github.com/users/ProjectSidewalk","html_url":"https://github.com/ProjectSidewalk","followers_url":"https://api.github.com/users/ProjectSidewalk/followers","following_url":"https://api.github.com/users/ProjectSidewalk/following{/other_user}","gists_url":"https://api.github.com/users/ProjectSidewalk/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectSidewalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectSidewalk/subscriptions","organizations_url":"https://api.github.com/users/ProjectSidewalk/orgs","repos_url":"https://api.github.com/users/ProjectSidewalk/repos","events_url":"https://api.github.com/users/ProjectSidewalk/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectSidewalk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ProjectSidewalk/SidewalkWebpage","description":"Project Sidewalk web page","fork":false,"url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage","forks_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/forks","keys_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/teams","hooks_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/hooks","issue_events_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues/events{/number}","events_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/events","assignees_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/assignees{/user}","branches_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/branches{/branch}","tags_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/tags","blobs_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/statuses/{sha}","languages_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/languages","stargazers_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/stargazers","contributors_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/contributors","subscribers_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/subscribers","subscription_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/subscription","commits_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/contents/{+path}","compare_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/merges","archive_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/downloads","issues_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues{/number}","pulls_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls{/number}","milestones_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/milestones{/number}","notifications_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/labels{/name}","releases_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/releases{/id}","deployments_url":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/deployments","created_at":"2015-07-23T21:09:48Z","updated_at":"2016-06-16T21:51:26Z","pushed_at":"2016-08-12T01:12:48Z","git_url":"git://github.com/ProjectSidewalk/SidewalkWebpage.git","ssh_url":"git@github.com:ProjectSidewalk/SidewalkWebpage.git","clone_url":"https://github.com/ProjectSidewalk/SidewalkWebpage.git","svn_url":"https://github.com/ProjectSidewalk/SidewalkWebpage","homepage":"https://sidewalk.umiacs.umd.edu/","size":79645,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":45,"forks":1,"open_issues":45,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/208"},"html":{"href":"https://github.com/ProjectSidewalk/SidewalkWebpage/pull/208"},"issue":{"href":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues/208"},"comments":{"href":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/ProjectSidewalk/SidewalkWebpage/statuses/8727bb02cfe3a740c36f8b89a2bb6c8b0e060b3c"}}}}
{"actor":{"display_login":"kotarohara"}}