{"action":"created","comment":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/comments/123878535","pull_request_review_id":46127281,"id":123878535,"diff_hunk":"@@ -60,6 +60,13 @@\n             page.should have_content \"too short\"\n           end\n \n+          scenario \"Failing to sign up because email is already registered\" do\n+            fill_in \"Email\", with: user.email\n+            fill_in \"Choose a password\", with: \"foobarino\"\n+            click_signup_button\n+            page.should have_content \"There's already an account for this email.\"","path":"spec/features/consumer/authentication_spec.rb","position":8,"original_position":8,"commit_id":"b76d3a1b975061f6f24bed4f13caaeefc78e2fb8","original_commit_id":"b76d3a1b975061f6f24bed4f13caaeefc78e2fb8","user":{"login":"sauloperez","id":762088,"avatar_url":"https://avatars2.githubusercontent.com/u/762088?v=3","gravatar_id":"","url":"https://api.github.com/users/sauloperez","html_url":"https://github.com/sauloperez","followers_url":"https://api.github.com/users/sauloperez/followers","following_url":"https://api.github.com/users/sauloperez/following{/other_user}","gists_url":"https://api.github.com/users/sauloperez/gists{/gist_id}","starred_url":"https://api.github.com/users/sauloperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sauloperez/subscriptions","organizations_url":"https://api.github.com/users/sauloperez/orgs","repos_url":"https://api.github.com/users/sauloperez/repos","events_url":"https://api.github.com/users/sauloperez/events{/privacy}","received_events_url":"https://api.github.com/users/sauloperez/received_events","type":"User","site_admin":false},"body":"Yes, I wonder what's the best way to do it. Probably by enabling `rubocop-rspec` so that new violations get a warning. I'd say on an another PR other than @oeoeaio 's one.","created_at":"2017-06-24T14:43:05Z","updated_at":"2017-06-24T14:43:09Z","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1639#discussion_r123878535","pull_request_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/1639","_links":{"self":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/comments/123878535"},"html":{"href":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1639#discussion_r123878535"},"pull_request":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/1639"}}},"pull_request":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/1639","id":127189477,"html_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1639","diff_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1639.diff","patch_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1639.patch","issue_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1639","number":1639,"state":"open","locked":false,"title":"Fix #1611 Rephrase error message for people logging in with an existing email ","user":{"login":"diogomatsubara","id":105662,"avatar_url":"https://avatars1.githubusercontent.com/u/105662?v=3","gravatar_id":"","url":"https://api.github.com/users/diogomatsubara","html_url":"https://github.com/diogomatsubara","followers_url":"https://api.github.com/users/diogomatsubara/followers","following_url":"https://api.github.com/users/diogomatsubara/following{/other_user}","gists_url":"https://api.github.com/users/diogomatsubara/gists{/gist_id}","starred_url":"https://api.github.com/users/diogomatsubara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogomatsubara/subscriptions","organizations_url":"https://api.github.com/users/diogomatsubara/orgs","repos_url":"https://api.github.com/users/diogomatsubara/repos","events_url":"https://api.github.com/users/diogomatsubara/events{/privacy}","received_events_url":"https://api.github.com/users/diogomatsubara/received_events","type":"User","site_admin":false},"body":"Overrides default error message for sign up validation to show a more friendly error when the given email is already registered.","created_at":"2017-06-23T11:40:57Z","updated_at":"2017-06-24T14:43:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c38d3d1060a0741d3758f7b27068d28e17ec398d","assignee":{"login":"diogomatsubara","id":105662,"avatar_url":"https://avatars1.githubusercontent.com/u/105662?v=3","gravatar_id":"","url":"https://api.github.com/users/diogomatsubara","html_url":"https://github.com/diogomatsubara","followers_url":"https://api.github.com/users/diogomatsubara/followers","following_url":"https://api.github.com/users/diogomatsubara/following{/other_user}","gists_url":"https://api.github.com/users/diogomatsubara/gists{/gist_id}","starred_url":"https://api.github.com/users/diogomatsubara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogomatsubara/subscriptions","organizations_url":"https://api.github.com/users/diogomatsubara/orgs","repos_url":"https://api.github.com/users/diogomatsubara/repos","events_url":"https://api.github.com/users/diogomatsubara/events{/privacy}","received_events_url":"https://api.github.com/users/diogomatsubara/received_events","type":"User","site_admin":false},"assignees":[{"login":"diogomatsubara","id":105662,"avatar_url":"https://avatars1.githubusercontent.com/u/105662?v=3","gravatar_id":"","url":"https://api.github.com/users/diogomatsubara","html_url":"https://github.com/diogomatsubara","followers_url":"https://api.github.com/users/diogomatsubara/followers","following_url":"https://api.github.com/users/diogomatsubara/following{/other_user}","gists_url":"https://api.github.com/users/diogomatsubara/gists{/gist_id}","starred_url":"https://api.github.com/users/diogomatsubara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogomatsubara/subscriptions","organizations_url":"https://api.github.com/users/diogomatsubara/orgs","repos_url":"https://api.github.com/users/diogomatsubara/repos","events_url":"https://api.github.com/users/diogomatsubara/events{/privacy}","received_events_url":"https://api.github.com/users/diogomatsubara/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"mkllnk","id":3524483,"avatar_url":"https://avatars3.githubusercontent.com/u/3524483?v=3","gravatar_id":"","url":"https://api.github.com/users/mkllnk","html_url":"https://github.com/mkllnk","followers_url":"https://api.github.com/users/mkllnk/followers","following_url":"https://api.github.com/users/mkllnk/following{/other_user}","gists_url":"https://api.github.com/users/mkllnk/gists{/gist_id}","starred_url":"https://api.github.com/users/mkllnk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkllnk/subscriptions","organizations_url":"https://api.github.com/users/mkllnk/orgs","repos_url":"https://api.github.com/users/mkllnk/repos","events_url":"https://api.github.com/users/mkllnk/events{/privacy}","received_events_url":"https://api.github.com/users/mkllnk/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/milestones/50","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/milestone/50","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/milestones/50/labels","id":2539555,"number":50,"title":"June dot point release","description":"","creator":{"login":"daniellemoorhead","id":10949052,"avatar_url":"https://avatars2.githubusercontent.com/u/10949052?v=3","gravatar_id":"","url":"https://api.github.com/users/daniellemoorhead","html_url":"https://github.com/daniellemoorhead","followers_url":"https://api.github.com/users/daniellemoorhead/followers","following_url":"https://api.github.com/users/daniellemoorhead/following{/other_user}","gists_url":"https://api.github.com/users/daniellemoorhead/gists{/gist_id}","starred_url":"https://api.github.com/users/daniellemoorhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniellemoorhead/subscriptions","organizations_url":"https://api.github.com/users/daniellemoorhead/orgs","repos_url":"https://api.github.com/users/daniellemoorhead/repos","events_url":"https://api.github.com/users/daniellemoorhead/events{/privacy}","received_events_url":"https://api.github.com/users/daniellemoorhead/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":8,"state":"open","created_at":"2017-05-24T00:36:38Z","updated_at":"2017-06-24T02:15:35Z","due_on":"2017-06-30T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/1639/commits","review_comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/1639/comments","review_comment_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1639/comments","statuses_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/statuses/b76d3a1b975061f6f24bed4f13caaeefc78e2fb8","head":{"label":"diogomatsubara:fix-1611-rephrase-login-error","ref":"fix-1611-rephrase-login-error","sha":"b76d3a1b975061f6f24bed4f13caaeefc78e2fb8","user":{"login":"diogomatsubara","id":105662,"avatar_url":"https://avatars1.githubusercontent.com/u/105662?v=3","gravatar_id":"","url":"https://api.github.com/users/diogomatsubara","html_url":"https://github.com/diogomatsubara","followers_url":"https://api.github.com/users/diogomatsubara/followers","following_url":"https://api.github.com/users/diogomatsubara/following{/other_user}","gists_url":"https://api.github.com/users/diogomatsubara/gists{/gist_id}","starred_url":"https://api.github.com/users/diogomatsubara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogomatsubara/subscriptions","organizations_url":"https://api.github.com/users/diogomatsubara/orgs","repos_url":"https://api.github.com/users/diogomatsubara/repos","events_url":"https://api.github.com/users/diogomatsubara/events{/privacy}","received_events_url":"https://api.github.com/users/diogomatsubara/received_events","type":"User","site_admin":false},"repo":{"id":95214280,"name":"openfoodnetwork","full_name":"diogomatsubara/openfoodnetwork","owner":{"login":"diogomatsubara","id":105662,"avatar_url":"https://avatars1.githubusercontent.com/u/105662?v=3","gravatar_id":"","url":"https://api.github.com/users/diogomatsubara","html_url":"https://github.com/diogomatsubara","followers_url":"https://api.github.com/users/diogomatsubara/followers","following_url":"https://api.github.com/users/diogomatsubara/following{/other_user}","gists_url":"https://api.github.com/users/diogomatsubara/gists{/gist_id}","starred_url":"https://api.github.com/users/diogomatsubara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogomatsubara/subscriptions","organizations_url":"https://api.github.com/users/diogomatsubara/orgs","repos_url":"https://api.github.com/users/diogomatsubara/repos","events_url":"https://api.github.com/users/diogomatsubara/events{/privacy}","received_events_url":"https://api.github.com/users/diogomatsubara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/diogomatsubara/openfoodnetwork","description":"Connect suppliers, distributors and consumers for the sale and purchase of local produce","fork":true,"url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork","forks_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/forks","keys_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/teams","hooks_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/hooks","issue_events_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/issues/events{/number}","events_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/events","assignees_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/assignees{/user}","branches_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/branches{/branch}","tags_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/tags","blobs_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/languages","stargazers_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/stargazers","contributors_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/contributors","subscribers_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/subscribers","subscription_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/subscription","commits_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/contents/{+path}","compare_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/merges","archive_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/downloads","issues_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/issues{/number}","pulls_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/labels{/name}","releases_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/releases{/id}","deployments_url":"https://api.github.com/repos/diogomatsubara/openfoodnetwork/deployments","created_at":"2017-06-23T11:31:49Z","updated_at":"2017-06-23T11:31:54Z","pushed_at":"2017-06-23T13:59:40Z","git_url":"git://github.com/diogomatsubara/openfoodnetwork.git","ssh_url":"git@github.com:diogomatsubara/openfoodnetwork.git","clone_url":"https://github.com/diogomatsubara/openfoodnetwork.git","svn_url":"https://github.com/diogomatsubara/openfoodnetwork","homepage":"http://openfoodnetwork.org/","size":37613,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"openfoodfoundation:master","ref":"master","sha":"931a5be162dea7bda5b7a24baaab6a014b1bf7d7","user":{"login":"openfoodfoundation","id":2578987,"avatar_url":"https://avatars3.githubusercontent.com/u/2578987?v=3","gravatar_id":"","url":"https://api.github.com/users/openfoodfoundation","html_url":"https://github.com/openfoodfoundation","followers_url":"https://api.github.com/users/openfoodfoundation/followers","following_url":"https://api.github.com/users/openfoodfoundation/following{/other_user}","gists_url":"https://api.github.com/users/openfoodfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/openfoodfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfoodfoundation/subscriptions","organizations_url":"https://api.github.com/users/openfoodfoundation/orgs","repos_url":"https://api.github.com/users/openfoodfoundation/repos","events_url":"https://api.github.com/users/openfoodfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/openfoodfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":6257856,"name":"openfoodnetwork","full_name":"openfoodfoundation/openfoodnetwork","owner":{"login":"openfoodfoundation","id":2578987,"avatar_url":"https://avatars3.githubusercontent.com/u/2578987?v=3","gravatar_id":"","url":"https://api.github.com/users/openfoodfoundation","html_url":"https://github.com/openfoodfoundation","followers_url":"https://api.github.com/users/openfoodfoundation/followers","following_url":"https://api.github.com/users/openfoodfoundation/following{/other_user}","gists_url":"https://api.github.com/users/openfoodfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/openfoodfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfoodfoundation/subscriptions","organizations_url":"https://api.github.com/users/openfoodfoundation/orgs","repos_url":"https://api.github.com/users/openfoodfoundation/repos","events_url":"https://api.github.com/users/openfoodfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/openfoodfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfoodfoundation/openfoodnetwork","description":"Connect suppliers, distributors and consumers for the sale and purchase of local produce","fork":false,"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork","forks_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/forks","keys_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/teams","hooks_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/hooks","issue_events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/events{/number}","events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/events","assignees_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/assignees{/user}","branches_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/branches{/branch}","tags_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/tags","blobs_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/languages","stargazers_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/stargazers","contributors_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/contributors","subscribers_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/subscribers","subscription_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/subscription","commits_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/contents/{+path}","compare_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/merges","archive_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/downloads","issues_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues{/number}","pulls_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/labels{/name}","releases_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/releases{/id}","deployments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/deployments","created_at":"2012-10-17T07:56:23Z","updated_at":"2017-06-23T21:15:37Z","pushed_at":"2017-06-24T07:54:00Z","git_url":"git://github.com/openfoodfoundation/openfoodnetwork.git","ssh_url":"git@github.com:openfoodfoundation/openfoodnetwork.git","clone_url":"https://github.com/openfoodfoundation/openfoodnetwork.git","svn_url":"https://github.com/openfoodfoundation/openfoodnetwork","homepage":"http://openfoodnetwork.org/","size":37612,"stargazers_count":191,"watchers_count":191,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":116,"mirror_url":null,"open_issues_count":570,"forks":116,"open_issues":570,"watchers":191,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/1639"},"html":{"href":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1639"},"issue":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1639"},"comments":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1639/comments"},"review_comments":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/1639/comments"},"review_comment":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/1639/commits"},"statuses":{"href":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/statuses/b76d3a1b975061f6f24bed4f13caaeefc78e2fb8"}}}}
{"actor":{"display_login":"sauloperez"}}