{"action":"created","comment":{"url":"https://api.github.com/repos/signdict/website/pulls/comments/117788174","pull_request_review_id":39524212,"id":117788174,"diff_hunk":"@@ -52,6 +52,36 @@ defmodule SignDict.UserTest do\n       changeset = User.changeset(user, params)\n       assert changeset.valid?\n     end\n+\n+    test \"it moves the email to unconfirmed_email and sets the confirmation fields and sents an email\" do\n+      params = @valid_attrs\n+      changeset = User.changeset(%User{email: \"oldemail@example.com\"}, params)\n+      assert changeset.valid?\n+      assert {:changes, \"elisa@example.com\"} == Ecto.Changeset.fetch_field(changeset, :unconfirmed_email)\n+      assert {:data, \"oldemail@example.com\"} == Ecto.Changeset.fetch_field(changeset, :email)\n+      assert {:changes, _data} = Ecto.Changeset.fetch_field(changeset, :confirmation_token)","path":"test/models/user_test.exs","position":11,"original_position":11,"commit_id":"73cc77f0574e14dcd0535116d70da6bf35f76907","original_commit_id":"73cc77f0574e14dcd0535116d70da6bf35f76907","user":{"login":"signdictbot","id":26170867,"avatar_url":"https://avatars2.githubusercontent.com/u/26170867?v=3","gravatar_id":"","url":"https://api.github.com/users/signdictbot","html_url":"https://github.com/signdictbot","followers_url":"https://api.github.com/users/signdictbot/followers","following_url":"https://api.github.com/users/signdictbot/following{/other_user}","gists_url":"https://api.github.com/users/signdictbot/gists{/gist_id}","starred_url":"https://api.github.com/users/signdictbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signdictbot/subscriptions","organizations_url":"https://api.github.com/users/signdictbot/orgs","repos_url":"https://api.github.com/users/signdictbot/repos","events_url":"https://api.github.com/users/signdictbot/events{/privacy}","received_events_url":"https://api.github.com/users/signdictbot/received_events","type":"User","site_admin":false},"body":"Line is too long (max is 80, was 91).","created_at":"2017-05-22T16:23:28Z","updated_at":"2017-05-22T16:23:28Z","html_url":"https://github.com/signdict/website/pull/130#discussion_r117788174","pull_request_url":"https://api.github.com/repos/signdict/website/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/signdict/website/pulls/comments/117788174"},"html":{"href":"https://github.com/signdict/website/pull/130#discussion_r117788174"},"pull_request":{"href":"https://api.github.com/repos/signdict/website/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/signdict/website/pulls/130","id":121814266,"html_url":"https://github.com/signdict/website/pull/130","diff_url":"https://github.com/signdict/website/pull/130.diff","patch_url":"https://github.com/signdict/website/pull/130.patch","issue_url":"https://api.github.com/repos/signdict/website/issues/130","number":130,"state":"open","locked":false,"title":"Add email verification","user":{"login":"bitboxer","id":56195,"avatar_url":"https://avatars1.githubusercontent.com/u/56195?v=3","gravatar_id":"","url":"https://api.github.com/users/bitboxer","html_url":"https://github.com/bitboxer","followers_url":"https://api.github.com/users/bitboxer/followers","following_url":"https://api.github.com/users/bitboxer/following{/other_user}","gists_url":"https://api.github.com/users/bitboxer/gists{/gist_id}","starred_url":"https://api.github.com/users/bitboxer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitboxer/subscriptions","organizations_url":"https://api.github.com/users/bitboxer/orgs","repos_url":"https://api.github.com/users/bitboxer/repos","events_url":"https://api.github.com/users/bitboxer/events{/privacy}","received_events_url":"https://api.github.com/users/bitboxer/received_events","type":"User","site_admin":false},"body":"Closes #72","created_at":"2017-05-22T16:13:18Z","updated_at":"2017-05-22T16:23:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"779f6f7c8325258dcfec0b18a932afec9cec1894","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/signdict/website/pulls/130/commits","review_comments_url":"https://api.github.com/repos/signdict/website/pulls/130/comments","review_comment_url":"https://api.github.com/repos/signdict/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/signdict/website/issues/130/comments","statuses_url":"https://api.github.com/repos/signdict/website/statuses/73cc77f0574e14dcd0535116d70da6bf35f76907","head":{"label":"signdict:add-email-verification","ref":"add-email-verification","sha":"73cc77f0574e14dcd0535116d70da6bf35f76907","user":{"login":"signdict","id":23705638,"avatar_url":"https://avatars1.githubusercontent.com/u/23705638?v=3","gravatar_id":"","url":"https://api.github.com/users/signdict","html_url":"https://github.com/signdict","followers_url":"https://api.github.com/users/signdict/followers","following_url":"https://api.github.com/users/signdict/following{/other_user}","gists_url":"https://api.github.com/users/signdict/gists{/gist_id}","starred_url":"https://api.github.com/users/signdict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signdict/subscriptions","organizations_url":"https://api.github.com/users/signdict/orgs","repos_url":"https://api.github.com/users/signdict/repos","events_url":"https://api.github.com/users/signdict/events{/privacy}","received_events_url":"https://api.github.com/users/signdict/received_events","type":"Organization","site_admin":false},"repo":{"id":83010685,"name":"website","full_name":"signdict/website","owner":{"login":"signdict","id":23705638,"avatar_url":"https://avatars1.githubusercontent.com/u/23705638?v=3","gravatar_id":"","url":"https://api.github.com/users/signdict","html_url":"https://github.com/signdict","followers_url":"https://api.github.com/users/signdict/followers","following_url":"https://api.github.com/users/signdict/following{/other_user}","gists_url":"https://api.github.com/users/signdict/gists{/gist_id}","starred_url":"https://api.github.com/users/signdict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signdict/subscriptions","organizations_url":"https://api.github.com/users/signdict/orgs","repos_url":"https://api.github.com/users/signdict/repos","events_url":"https://api.github.com/users/signdict/events{/privacy}","received_events_url":"https://api.github.com/users/signdict/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/signdict/website","description":"A sign language dictionary","fork":false,"url":"https://api.github.com/repos/signdict/website","forks_url":"https://api.github.com/repos/signdict/website/forks","keys_url":"https://api.github.com/repos/signdict/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/signdict/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/signdict/website/teams","hooks_url":"https://api.github.com/repos/signdict/website/hooks","issue_events_url":"https://api.github.com/repos/signdict/website/issues/events{/number}","events_url":"https://api.github.com/repos/signdict/website/events","assignees_url":"https://api.github.com/repos/signdict/website/assignees{/user}","branches_url":"https://api.github.com/repos/signdict/website/branches{/branch}","tags_url":"https://api.github.com/repos/signdict/website/tags","blobs_url":"https://api.github.com/repos/signdict/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/signdict/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/signdict/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/signdict/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/signdict/website/statuses/{sha}","languages_url":"https://api.github.com/repos/signdict/website/languages","stargazers_url":"https://api.github.com/repos/signdict/website/stargazers","contributors_url":"https://api.github.com/repos/signdict/website/contributors","subscribers_url":"https://api.github.com/repos/signdict/website/subscribers","subscription_url":"https://api.github.com/repos/signdict/website/subscription","commits_url":"https://api.github.com/repos/signdict/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/signdict/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/signdict/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/signdict/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/signdict/website/contents/{+path}","compare_url":"https://api.github.com/repos/signdict/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/signdict/website/merges","archive_url":"https://api.github.com/repos/signdict/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/signdict/website/downloads","issues_url":"https://api.github.com/repos/signdict/website/issues{/number}","pulls_url":"https://api.github.com/repos/signdict/website/pulls{/number}","milestones_url":"https://api.github.com/repos/signdict/website/milestones{/number}","notifications_url":"https://api.github.com/repos/signdict/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/signdict/website/labels{/name}","releases_url":"https://api.github.com/repos/signdict/website/releases{/id}","deployments_url":"https://api.github.com/repos/signdict/website/deployments","created_at":"2017-02-24T06:46:30Z","updated_at":"2017-04-10T09:27:49Z","pushed_at":"2017-05-22T16:13:18Z","git_url":"git://github.com/signdict/website.git","ssh_url":"git@github.com:signdict/website.git","clone_url":"https://github.com/signdict/website.git","svn_url":"https://github.com/signdict/website","homepage":"https://signdict.org","size":2565,"stargazers_count":16,"watchers_count":16,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":17,"forks":1,"open_issues":17,"watchers":16,"default_branch":"master"}},"base":{"label":"signdict:master","ref":"master","sha":"b5b34eba0c6741307d3d7a6ab4672e238f8d3f4c","user":{"login":"signdict","id":23705638,"avatar_url":"https://avatars1.githubusercontent.com/u/23705638?v=3","gravatar_id":"","url":"https://api.github.com/users/signdict","html_url":"https://github.com/signdict","followers_url":"https://api.github.com/users/signdict/followers","following_url":"https://api.github.com/users/signdict/following{/other_user}","gists_url":"https://api.github.com/users/signdict/gists{/gist_id}","starred_url":"https://api.github.com/users/signdict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signdict/subscriptions","organizations_url":"https://api.github.com/users/signdict/orgs","repos_url":"https://api.github.com/users/signdict/repos","events_url":"https://api.github.com/users/signdict/events{/privacy}","received_events_url":"https://api.github.com/users/signdict/received_events","type":"Organization","site_admin":false},"repo":{"id":83010685,"name":"website","full_name":"signdict/website","owner":{"login":"signdict","id":23705638,"avatar_url":"https://avatars1.githubusercontent.com/u/23705638?v=3","gravatar_id":"","url":"https://api.github.com/users/signdict","html_url":"https://github.com/signdict","followers_url":"https://api.github.com/users/signdict/followers","following_url":"https://api.github.com/users/signdict/following{/other_user}","gists_url":"https://api.github.com/users/signdict/gists{/gist_id}","starred_url":"https://api.github.com/users/signdict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signdict/subscriptions","organizations_url":"https://api.github.com/users/signdict/orgs","repos_url":"https://api.github.com/users/signdict/repos","events_url":"https://api.github.com/users/signdict/events{/privacy}","received_events_url":"https://api.github.com/users/signdict/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/signdict/website","description":"A sign language dictionary","fork":false,"url":"https://api.github.com/repos/signdict/website","forks_url":"https://api.github.com/repos/signdict/website/forks","keys_url":"https://api.github.com/repos/signdict/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/signdict/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/signdict/website/teams","hooks_url":"https://api.github.com/repos/signdict/website/hooks","issue_events_url":"https://api.github.com/repos/signdict/website/issues/events{/number}","events_url":"https://api.github.com/repos/signdict/website/events","assignees_url":"https://api.github.com/repos/signdict/website/assignees{/user}","branches_url":"https://api.github.com/repos/signdict/website/branches{/branch}","tags_url":"https://api.github.com/repos/signdict/website/tags","blobs_url":"https://api.github.com/repos/signdict/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/signdict/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/signdict/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/signdict/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/signdict/website/statuses/{sha}","languages_url":"https://api.github.com/repos/signdict/website/languages","stargazers_url":"https://api.github.com/repos/signdict/website/stargazers","contributors_url":"https://api.github.com/repos/signdict/website/contributors","subscribers_url":"https://api.github.com/repos/signdict/website/subscribers","subscription_url":"https://api.github.com/repos/signdict/website/subscription","commits_url":"https://api.github.com/repos/signdict/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/signdict/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/signdict/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/signdict/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/signdict/website/contents/{+path}","compare_url":"https://api.github.com/repos/signdict/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/signdict/website/merges","archive_url":"https://api.github.com/repos/signdict/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/signdict/website/downloads","issues_url":"https://api.github.com/repos/signdict/website/issues{/number}","pulls_url":"https://api.github.com/repos/signdict/website/pulls{/number}","milestones_url":"https://api.github.com/repos/signdict/website/milestones{/number}","notifications_url":"https://api.github.com/repos/signdict/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/signdict/website/labels{/name}","releases_url":"https://api.github.com/repos/signdict/website/releases{/id}","deployments_url":"https://api.github.com/repos/signdict/website/deployments","created_at":"2017-02-24T06:46:30Z","updated_at":"2017-04-10T09:27:49Z","pushed_at":"2017-05-22T16:13:18Z","git_url":"git://github.com/signdict/website.git","ssh_url":"git@github.com:signdict/website.git","clone_url":"https://github.com/signdict/website.git","svn_url":"https://github.com/signdict/website","homepage":"https://signdict.org","size":2565,"stargazers_count":16,"watchers_count":16,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":17,"forks":1,"open_issues":17,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/signdict/website/pulls/130"},"html":{"href":"https://github.com/signdict/website/pull/130"},"issue":{"href":"https://api.github.com/repos/signdict/website/issues/130"},"comments":{"href":"https://api.github.com/repos/signdict/website/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/signdict/website/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/signdict/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/signdict/website/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/signdict/website/statuses/73cc77f0574e14dcd0535116d70da6bf35f76907"}}}}
{"actor":{"display_login":"signdictbot"}}