{"action":"created","comment":{"url":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/comments/138098958","pull_request_review_id":61850777,"id":138098958,"diff_hunk":"@@ -0,0 +1,41 @@\n+Feature: List orders\n+  As Giga-Food\n+  In order to make a decision to start an order\n+  I like to have three options approve, cancel and a input filed with transport size\n+\n+  Background:\n+    Given an admin exists with email \"admin@example.com\" and password \"password\"\n+    And I'm loged in as admin user \"admin@example.com\"\n+    Given I go to the dashboard","path":"features/orders.feature","position":9,"original_position":9,"commit_id":"4f030c02a0795edf2b89c8b68dbf2c8319d1729b","original_commit_id":"4f030c02a0795edf2b89c8b68dbf2c8319d1729b","user":{"login":"satorinic","id":28765819,"avatar_url":"https://avatars2.githubusercontent.com/u/28765819?v=4","gravatar_id":"","url":"https://api.github.com/users/satorinic","html_url":"https://github.com/satorinic","followers_url":"https://api.github.com/users/satorinic/followers","following_url":"https://api.github.com/users/satorinic/following{/other_user}","gists_url":"https://api.github.com/users/satorinic/gists{/gist_id}","starred_url":"https://api.github.com/users/satorinic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satorinic/subscriptions","organizations_url":"https://api.github.com/users/satorinic/orgs","repos_url":"https://api.github.com/users/satorinic/repos","events_url":"https://api.github.com/users/satorinic/events{/privacy}","received_events_url":"https://api.github.com/users/satorinic/received_events","type":"User","site_admin":false},"body":"Change to And?\r\nIn the test there are several inconsistent step. Check again.\r\n\r\n\"Given\" for background steps\r\n\"When\" for actions \r\n\"Then\" for assertions\r\nUse \"And\" for repetting the same type of step ","created_at":"2017-09-11T15:04:43Z","updated_at":"2017-09-11T15:04:43Z","html_url":"https://github.com/CraftAcademy/gigafood/pull/10#discussion_r138098958","pull_request_url":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/10","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/comments/138098958"},"html":{"href":"https://github.com/CraftAcademy/gigafood/pull/10#discussion_r138098958"},"pull_request":{"href":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/10","id":140166680,"html_url":"https://github.com/CraftAcademy/gigafood/pull/10","diff_url":"https://github.com/CraftAcademy/gigafood/pull/10.diff","patch_url":"https://github.com/CraftAcademy/gigafood/pull/10.patch","issue_url":"https://api.github.com/repos/CraftAcademy/gigafood/issues/10","number":10,"state":"open","locked":false,"title":"Order confirmation and preparation","user":{"login":"caressahh","id":24576539,"avatar_url":"https://avatars3.githubusercontent.com/u/24576539?v=4","gravatar_id":"","url":"https://api.github.com/users/caressahh","html_url":"https://github.com/caressahh","followers_url":"https://api.github.com/users/caressahh/followers","following_url":"https://api.github.com/users/caressahh/following{/other_user}","gists_url":"https://api.github.com/users/caressahh/gists{/gist_id}","starred_url":"https://api.github.com/users/caressahh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caressahh/subscriptions","organizations_url":"https://api.github.com/users/caressahh/orgs","repos_url":"https://api.github.com/users/caressahh/repos","events_url":"https://api.github.com/users/caressahh/events{/privacy}","received_events_url":"https://api.github.com/users/caressahh/received_events","type":"User","site_admin":false},"body":"## PT link https://www.pivotaltracker.com/story/show/150780824 ##\r\n\r\n### The following features were added to the app ##\r\n- Confirmation view\r\n- Add input for number of boxes if customer has selected delivery\r\n- Buttons for Gigafood to confirm or cancel the order.\r\n- Set order status to confirmed/canceled depending on selection.\r\n- Sending an email to the customer with order confirmation or cancellation.\r\n\r\nWe used ActiveAdmin to add Order feature. The implementation simplifies the order administration for GigaFood and cuts manual tasks. \r\n\r\n### What we learned ###\r\n- How to use ActiveAdmin\r\n- How to use ActionMailer\r\n- Use Cucumber to test emails\r\n- Use RSpec to unit test emails and ActionMailer functionality","created_at":"2017-09-09T11:32:10Z","updated_at":"2017-09-11T15:04:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5df690c15a4a72e2022fec595a25e4c6a0b78929","assignee":null,"assignees":[],"requested_reviewers":[{"login":"j0sv","id":29046877,"avatar_url":"https://avatars2.githubusercontent.com/u/29046877?v=4","gravatar_id":"","url":"https://api.github.com/users/j0sv","html_url":"https://github.com/j0sv","followers_url":"https://api.github.com/users/j0sv/followers","following_url":"https://api.github.com/users/j0sv/following{/other_user}","gists_url":"https://api.github.com/users/j0sv/gists{/gist_id}","starred_url":"https://api.github.com/users/j0sv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0sv/subscriptions","organizations_url":"https://api.github.com/users/j0sv/orgs","repos_url":"https://api.github.com/users/j0sv/repos","events_url":"https://api.github.com/users/j0sv/events{/privacy}","received_events_url":"https://api.github.com/users/j0sv/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/10/commits","review_comments_url":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/10/comments","review_comment_url":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CraftAcademy/gigafood/issues/10/comments","statuses_url":"https://api.github.com/repos/CraftAcademy/gigafood/statuses/4f030c02a0795edf2b89c8b68dbf2c8319d1729b","head":{"label":"caressahh:orders","ref":"orders","sha":"4f030c02a0795edf2b89c8b68dbf2c8319d1729b","user":{"login":"caressahh","id":24576539,"avatar_url":"https://avatars3.githubusercontent.com/u/24576539?v=4","gravatar_id":"","url":"https://api.github.com/users/caressahh","html_url":"https://github.com/caressahh","followers_url":"https://api.github.com/users/caressahh/followers","following_url":"https://api.github.com/users/caressahh/following{/other_user}","gists_url":"https://api.github.com/users/caressahh/gists{/gist_id}","starred_url":"https://api.github.com/users/caressahh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caressahh/subscriptions","organizations_url":"https://api.github.com/users/caressahh/orgs","repos_url":"https://api.github.com/users/caressahh/repos","events_url":"https://api.github.com/users/caressahh/events{/privacy}","received_events_url":"https://api.github.com/users/caressahh/received_events","type":"User","site_admin":false},"repo":{"id":102717080,"name":"gigafood","full_name":"caressahh/gigafood","owner":{"login":"caressahh","id":24576539,"avatar_url":"https://avatars3.githubusercontent.com/u/24576539?v=4","gravatar_id":"","url":"https://api.github.com/users/caressahh","html_url":"https://github.com/caressahh","followers_url":"https://api.github.com/users/caressahh/followers","following_url":"https://api.github.com/users/caressahh/following{/other_user}","gists_url":"https://api.github.com/users/caressahh/gists{/gist_id}","starred_url":"https://api.github.com/users/caressahh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caressahh/subscriptions","organizations_url":"https://api.github.com/users/caressahh/orgs","repos_url":"https://api.github.com/users/caressahh/repos","events_url":"https://api.github.com/users/caressahh/events{/privacy}","received_events_url":"https://api.github.com/users/caressahh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caressahh/gigafood","description":"CraftAcademy - Summer 2017 Final Project","fork":true,"url":"https://api.github.com/repos/caressahh/gigafood","forks_url":"https://api.github.com/repos/caressahh/gigafood/forks","keys_url":"https://api.github.com/repos/caressahh/gigafood/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caressahh/gigafood/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caressahh/gigafood/teams","hooks_url":"https://api.github.com/repos/caressahh/gigafood/hooks","issue_events_url":"https://api.github.com/repos/caressahh/gigafood/issues/events{/number}","events_url":"https://api.github.com/repos/caressahh/gigafood/events","assignees_url":"https://api.github.com/repos/caressahh/gigafood/assignees{/user}","branches_url":"https://api.github.com/repos/caressahh/gigafood/branches{/branch}","tags_url":"https://api.github.com/repos/caressahh/gigafood/tags","blobs_url":"https://api.github.com/repos/caressahh/gigafood/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caressahh/gigafood/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caressahh/gigafood/git/refs{/sha}","trees_url":"https://api.github.com/repos/caressahh/gigafood/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caressahh/gigafood/statuses/{sha}","languages_url":"https://api.github.com/repos/caressahh/gigafood/languages","stargazers_url":"https://api.github.com/repos/caressahh/gigafood/stargazers","contributors_url":"https://api.github.com/repos/caressahh/gigafood/contributors","subscribers_url":"https://api.github.com/repos/caressahh/gigafood/subscribers","subscription_url":"https://api.github.com/repos/caressahh/gigafood/subscription","commits_url":"https://api.github.com/repos/caressahh/gigafood/commits{/sha}","git_commits_url":"https://api.github.com/repos/caressahh/gigafood/git/commits{/sha}","comments_url":"https://api.github.com/repos/caressahh/gigafood/comments{/number}","issue_comment_url":"https://api.github.com/repos/caressahh/gigafood/issues/comments{/number}","contents_url":"https://api.github.com/repos/caressahh/gigafood/contents/{+path}","compare_url":"https://api.github.com/repos/caressahh/gigafood/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caressahh/gigafood/merges","archive_url":"https://api.github.com/repos/caressahh/gigafood/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caressahh/gigafood/downloads","issues_url":"https://api.github.com/repos/caressahh/gigafood/issues{/number}","pulls_url":"https://api.github.com/repos/caressahh/gigafood/pulls{/number}","milestones_url":"https://api.github.com/repos/caressahh/gigafood/milestones{/number}","notifications_url":"https://api.github.com/repos/caressahh/gigafood/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caressahh/gigafood/labels{/name}","releases_url":"https://api.github.com/repos/caressahh/gigafood/releases{/id}","deployments_url":"https://api.github.com/repos/caressahh/gigafood/deployments","created_at":"2017-09-07T09:15:56Z","updated_at":"2017-09-04T07:53:03Z","pushed_at":"2017-09-11T14:38:04Z","git_url":"git://github.com/caressahh/gigafood.git","ssh_url":"git@github.com:caressahh/gigafood.git","clone_url":"https://github.com/caressahh/gigafood.git","svn_url":"https://github.com/caressahh/gigafood","homepage":null,"size":1278,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CraftAcademy:develop","ref":"develop","sha":"5c54e475d7932dfa5bb74cedc0b9242735c0647d","user":{"login":"CraftAcademy","id":12081851,"avatar_url":"https://avatars0.githubusercontent.com/u/12081851?v=4","gravatar_id":"","url":"https://api.github.com/users/CraftAcademy","html_url":"https://github.com/CraftAcademy","followers_url":"https://api.github.com/users/CraftAcademy/followers","following_url":"https://api.github.com/users/CraftAcademy/following{/other_user}","gists_url":"https://api.github.com/users/CraftAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/CraftAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraftAcademy/subscriptions","organizations_url":"https://api.github.com/users/CraftAcademy/orgs","repos_url":"https://api.github.com/users/CraftAcademy/repos","events_url":"https://api.github.com/users/CraftAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/CraftAcademy/received_events","type":"Organization","site_admin":false},"repo":{"id":102334137,"name":"gigafood","full_name":"CraftAcademy/gigafood","owner":{"login":"CraftAcademy","id":12081851,"avatar_url":"https://avatars0.githubusercontent.com/u/12081851?v=4","gravatar_id":"","url":"https://api.github.com/users/CraftAcademy","html_url":"https://github.com/CraftAcademy","followers_url":"https://api.github.com/users/CraftAcademy/followers","following_url":"https://api.github.com/users/CraftAcademy/following{/other_user}","gists_url":"https://api.github.com/users/CraftAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/CraftAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraftAcademy/subscriptions","organizations_url":"https://api.github.com/users/CraftAcademy/orgs","repos_url":"https://api.github.com/users/CraftAcademy/repos","events_url":"https://api.github.com/users/CraftAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/CraftAcademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CraftAcademy/gigafood","description":"CraftAcademy - Summer 2017 Final Project","fork":false,"url":"https://api.github.com/repos/CraftAcademy/gigafood","forks_url":"https://api.github.com/repos/CraftAcademy/gigafood/forks","keys_url":"https://api.github.com/repos/CraftAcademy/gigafood/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CraftAcademy/gigafood/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CraftAcademy/gigafood/teams","hooks_url":"https://api.github.com/repos/CraftAcademy/gigafood/hooks","issue_events_url":"https://api.github.com/repos/CraftAcademy/gigafood/issues/events{/number}","events_url":"https://api.github.com/repos/CraftAcademy/gigafood/events","assignees_url":"https://api.github.com/repos/CraftAcademy/gigafood/assignees{/user}","branches_url":"https://api.github.com/repos/CraftAcademy/gigafood/branches{/branch}","tags_url":"https://api.github.com/repos/CraftAcademy/gigafood/tags","blobs_url":"https://api.github.com/repos/CraftAcademy/gigafood/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CraftAcademy/gigafood/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CraftAcademy/gigafood/git/refs{/sha}","trees_url":"https://api.github.com/repos/CraftAcademy/gigafood/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CraftAcademy/gigafood/statuses/{sha}","languages_url":"https://api.github.com/repos/CraftAcademy/gigafood/languages","stargazers_url":"https://api.github.com/repos/CraftAcademy/gigafood/stargazers","contributors_url":"https://api.github.com/repos/CraftAcademy/gigafood/contributors","subscribers_url":"https://api.github.com/repos/CraftAcademy/gigafood/subscribers","subscription_url":"https://api.github.com/repos/CraftAcademy/gigafood/subscription","commits_url":"https://api.github.com/repos/CraftAcademy/gigafood/commits{/sha}","git_commits_url":"https://api.github.com/repos/CraftAcademy/gigafood/git/commits{/sha}","comments_url":"https://api.github.com/repos/CraftAcademy/gigafood/comments{/number}","issue_comment_url":"https://api.github.com/repos/CraftAcademy/gigafood/issues/comments{/number}","contents_url":"https://api.github.com/repos/CraftAcademy/gigafood/contents/{+path}","compare_url":"https://api.github.com/repos/CraftAcademy/gigafood/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CraftAcademy/gigafood/merges","archive_url":"https://api.github.com/repos/CraftAcademy/gigafood/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CraftAcademy/gigafood/downloads","issues_url":"https://api.github.com/repos/CraftAcademy/gigafood/issues{/number}","pulls_url":"https://api.github.com/repos/CraftAcademy/gigafood/pulls{/number}","milestones_url":"https://api.github.com/repos/CraftAcademy/gigafood/milestones{/number}","notifications_url":"https://api.github.com/repos/CraftAcademy/gigafood/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CraftAcademy/gigafood/labels{/name}","releases_url":"https://api.github.com/repos/CraftAcademy/gigafood/releases{/id}","deployments_url":"https://api.github.com/repos/CraftAcademy/gigafood/deployments","created_at":"2017-09-04T07:53:03Z","updated_at":"2017-09-07T09:49:24Z","pushed_at":"2017-09-11T14:39:58Z","git_url":"git://github.com/CraftAcademy/gigafood.git","ssh_url":"git@github.com:CraftAcademy/gigafood.git","clone_url":"https://github.com/CraftAcademy/gigafood.git","svn_url":"https://github.com/CraftAcademy/gigafood","homepage":null,"size":1254,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/10"},"html":{"href":"https://github.com/CraftAcademy/gigafood/pull/10"},"issue":{"href":"https://api.github.com/repos/CraftAcademy/gigafood/issues/10"},"comments":{"href":"https://api.github.com/repos/CraftAcademy/gigafood/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CraftAcademy/gigafood/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/CraftAcademy/gigafood/statuses/4f030c02a0795edf2b89c8b68dbf2c8319d1729b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"satorinic"}}