GitHub PullRequestReviewCommentEvent at 2014-11-19 20:34:44
Repository: cms
Actor: benlovell
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/moneyadviceservice/cms/pulls/comments/20605266","id":20605266,"diff_hunk":"@@ -12,12 +12,21 @@\n   edit_page.load(site: cms_site.id, page: cms_published_page.id)\n end\n \n+When(/^I publish the article$/) do\n+  edit_page.publish.click\n+end\n+\n Then(/^I should be able to publish it$/) do\n   edit_page.should have_publish\n   edit_page.publish.click\n   expect(cms_page.reload.current_state).to eq(:published)\n end\n \n+Then(/^I should be able to see the last revision status$/) do\n+  edit_page.activity_log_button.click","path":"features/step_definitions/edit_page_steps.rb","position":15,"original_position":15,"commit_id":"2e68c2f57c823d0feabf06bae1b83e64491820c7","original_commit_id":"2e68c2f57c823d0feabf06bae1b83e64491820c7","user":{"login":"benlovell","id":41963,"avatar_url":"https://avatars.githubusercontent.com/u/41963?v=3","gravatar_id":"","url":"https://api.github.com/users/benlovell","html_url":"https://github.com/benlovell","followers_url":"https://api.github.com/users/benlovell/followers","following_url":"https://api.github.com/users/benlovell/following{/other_user}","gists_url":"https://api.github.com/users/benlovell/gists{/gist_id}","starred_url":"https://api.github.com/users/benlovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlovell/subscriptions","organizations_url":"https://api.github.com/users/benlovell/orgs","repos_url":"https://api.github.com/users/benlovell/repos","events_url":"https://api.github.com/users/benlovell/events{/privacy}","received_events_url":"https://api.github.com/users/benlovell/received_events","type":"User","site_admin":false},"body":"This step is _doing_ as well as asserting. ","created_at":"2014-11-19T20:34:44Z","updated_at":"2014-11-19T20:34:44Z","html_url":"https://github.com/moneyadviceservice/cms/pull/81#discussion_r20605266","pull_request_url":"https://api.github.com/repos/moneyadviceservice/cms/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/moneyadviceservice/cms/pulls/comments/20605266"},"html":{"href":"https://github.com/moneyadviceservice/cms/pull/81#discussion_r20605266"},"pull_request":{"href":"https://api.github.com/repos/moneyadviceservice/cms/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/moneyadviceservice/cms/pulls/81","id":24717468,"html_url":"https://github.com/moneyadviceservice/cms/pull/81","diff_url":"https://github.com/moneyadviceservice/cms/pull/81.diff","patch_url":"https://github.com/moneyadviceservice/cms/pull/81.patch","issue_url":"https://api.github.com/repos/moneyadviceservice/cms/issues/81","number":81,"state":"open","locked":false,"title":"Activity log","user":{"login":"tomas-stefano","id":27509,"avatar_url":"https://avatars.githubusercontent.com/u/27509?v=3","gravatar_id":"","url":"https://api.github.com/users/tomas-stefano","html_url":"https://github.com/tomas-stefano","followers_url":"https://api.github.com/users/tomas-stefano/followers","following_url":"https://api.github.com/users/tomas-stefano/following{/other_user}","gists_url":"https://api.github.com/users/tomas-stefano/gists{/gist_id}","starred_url":"https://api.github.com/users/tomas-stefano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomas-stefano/subscriptions","organizations_url":"https://api.github.com/users/tomas-stefano/orgs","repos_url":"https://api.github.com/users/tomas-stefano/repos","events_url":"https://api.github.com/users/tomas-stefano/events{/privacy}","received_events_url":"https://api.github.com/users/tomas-stefano/received_events","type":"User","site_admin":false},"body":"Activitiy log feature. These PR are dependent from this PR on comfortable mexican sofa: https://github.com/moneyadviceservice/comfortable-mexican-sofa/pull/11","created_at":"2014-11-19T20:14:53Z","updated_at":"2014-11-19T20:34:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2827f1ebfc14165f59158fd2a131406c6474bf7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moneyadviceservice/cms/pulls/81/commits","review_comments_url":"https://api.github.com/repos/moneyadviceservice/cms/pulls/81/comments","review_comment_url":"https://api.github.com/repos/moneyadviceservice/cms/pulls/comments/{number}","comments_url":"https://api.github.com/repos/moneyadviceservice/cms/issues/81/comments","statuses_url":"https://api.github.com/repos/moneyadviceservice/cms/statuses/2e68c2f57c823d0feabf06bae1b83e64491820c7","head":{"label":"moneyadviceservice:activity-log","ref":"activity-log","sha":"2e68c2f57c823d0feabf06bae1b83e64491820c7","user":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?v=3","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"repo":{"id":21238354,"name":"cms","full_name":"moneyadviceservice/cms","owner":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?v=3","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moneyadviceservice/cms","description":"The MAS CMS","fork":false,"url":"https://api.github.com/repos/moneyadviceservice/cms","forks_url":"https://api.github.com/repos/moneyadviceservice/cms/forks","keys_url":"https://api.github.com/repos/moneyadviceservice/cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneyadviceservice/cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneyadviceservice/cms/teams","hooks_url":"https://api.github.com/repos/moneyadviceservice/cms/hooks","issue_events_url":"https://api.github.com/repos/moneyadviceservice/cms/issues/events{/number}","events_url":"https://api.github.com/repos/moneyadviceservice/cms/events","assignees_url":"https://api.github.com/repos/moneyadviceservice/cms/assignees{/user}","branches_url":"https://api.github.com/repos/moneyadviceservice/cms/branches{/branch}","tags_url":"https://api.github.com/repos/moneyadviceservice/cms/tags","blobs_url":"https://api.github.com/repos/moneyadviceservice/cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneyadviceservice/cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneyadviceservice/cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneyadviceservice/cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneyadviceservice/cms/statuses/{sha}","languages_url":"https://api.github.com/repos/moneyadviceservice/cms/languages","stargazers_url":"https://api.github.com/repos/moneyadviceservice/cms/stargazers","contributors_url":"https://api.github.com/repos/moneyadviceservice/cms/contributors","subscribers_url":"https://api.github.com/repos/moneyadviceservice/cms/subscribers","subscription_url":"https://api.github.com/repos/moneyadviceservice/cms/subscription","commits_url":"https://api.github.com/repos/moneyadviceservice/cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneyadviceservice/cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneyadviceservice/cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneyadviceservice/cms/issues/comments/{number}","contents_url":"https://api.github.com/repos/moneyadviceservice/cms/contents/{+path}","compare_url":"https://api.github.com/repos/moneyadviceservice/cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneyadviceservice/cms/merges","archive_url":"https://api.github.com/repos/moneyadviceservice/cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneyadviceservice/cms/downloads","issues_url":"https://api.github.com/repos/moneyadviceservice/cms/issues{/number}","pulls_url":"https://api.github.com/repos/moneyadviceservice/cms/pulls{/number}","milestones_url":"https://api.github.com/repos/moneyadviceservice/cms/milestones{/number}","notifications_url":"https://api.github.com/repos/moneyadviceservice/cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneyadviceservice/cms/labels{/name}","releases_url":"https://api.github.com/repos/moneyadviceservice/cms/releases{/id}","created_at":"2014-06-26T11:26:25Z","updated_at":"2014-11-19T15:34:23Z","pushed_at":"2014-11-19T19:52:11Z","git_url":"git://github.com/moneyadviceservice/cms.git","ssh_url":"git@github.com:moneyadviceservice/cms.git","clone_url":"https://github.com/moneyadviceservice/cms.git","svn_url":"https://github.com/moneyadviceservice/cms","homepage":null,"size":8368,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"moneyadviceservice:master","ref":"master","sha":"a70da3b81af454d49d30f2b9c0cc2868410aef79","user":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?v=3","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"repo":{"id":21238354,"name":"cms","full_name":"moneyadviceservice/cms","owner":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?v=3","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moneyadviceservice/cms","description":"The MAS CMS","fork":false,"url":"https://api.github.com/repos/moneyadviceservice/cms","forks_url":"https://api.github.com/repos/moneyadviceservice/cms/forks","keys_url":"https://api.github.com/repos/moneyadviceservice/cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneyadviceservice/cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneyadviceservice/cms/teams","hooks_url":"https://api.github.com/repos/moneyadviceservice/cms/hooks","issue_events_url":"https://api.github.com/repos/moneyadviceservice/cms/issues/events{/number}","events_url":"https://api.github.com/repos/moneyadviceservice/cms/events","assignees_url":"https://api.github.com/repos/moneyadviceservice/cms/assignees{/user}","branches_url":"https://api.github.com/repos/moneyadviceservice/cms/branches{/branch}","tags_url":"https://api.github.com/repos/moneyadviceservice/cms/tags","blobs_url":"https://api.github.com/repos/moneyadviceservice/cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneyadviceservice/cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneyadviceservice/cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneyadviceservice/cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneyadviceservice/cms/statuses/{sha}","languages_url":"https://api.github.com/repos/moneyadviceservice/cms/languages","stargazers_url":"https://api.github.com/repos/moneyadviceservice/cms/stargazers","contributors_url":"https://api.github.com/repos/moneyadviceservice/cms/contributors","subscribers_url":"https://api.github.com/repos/moneyadviceservice/cms/subscribers","subscription_url":"https://api.github.com/repos/moneyadviceservice/cms/subscription","commits_url":"https://api.github.com/repos/moneyadviceservice/cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneyadviceservice/cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneyadviceservice/cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneyadviceservice/cms/issues/comments/{number}","contents_url":"https://api.github.com/repos/moneyadviceservice/cms/contents/{+path}","compare_url":"https://api.github.com/repos/moneyadviceservice/cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneyadviceservice/cms/merges","archive_url":"https://api.github.com/repos/moneyadviceservice/cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneyadviceservice/cms/downloads","issues_url":"https://api.github.com/repos/moneyadviceservice/cms/issues{/number}","pulls_url":"https://api.github.com/repos/moneyadviceservice/cms/pulls{/number}","milestones_url":"https://api.github.com/repos/moneyadviceservice/cms/milestones{/number}","notifications_url":"https://api.github.com/repos/moneyadviceservice/cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneyadviceservice/cms/labels{/name}","releases_url":"https://api.github.com/repos/moneyadviceservice/cms/releases{/id}","created_at":"2014-06-26T11:26:25Z","updated_at":"2014-11-19T15:34:23Z","pushed_at":"2014-11-19T19:52:11Z","git_url":"git://github.com/moneyadviceservice/cms.git","ssh_url":"git@github.com:moneyadviceservice/cms.git","clone_url":"https://github.com/moneyadviceservice/cms.git","svn_url":"https://github.com/moneyadviceservice/cms","homepage":null,"size":8368,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moneyadviceservice/cms/pulls/81"},"html":{"href":"https://github.com/moneyadviceservice/cms/pull/81"},"issue":{"href":"https://api.github.com/repos/moneyadviceservice/cms/issues/81"},"comments":{"href":"https://api.github.com/repos/moneyadviceservice/cms/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/moneyadviceservice/cms/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/moneyadviceservice/cms/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/moneyadviceservice/cms/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/moneyadviceservice/cms/statuses/2e68c2f57c823d0feabf06bae1b83e64491820c7"}}}}