{"action":"created","comment":{"url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/comments/70047659","id":70047659,"diff_hunk":"@@ -0,0 +1,41 @@\n+require 'spec_helper'\n+\n+class User\n+  attr_reader :raw_confirmation_token\n+end\n+\n+RSpec.describe ConfirmationsController, :type => :controller do\n+\n+  def visit_user_confirmation_with_token(confirmation_token)\n+    visit user_confirmation_path(confirmation_token: confirmation_token)\n+  end\n+\n+  context \"when confirmation token is valid\" do\n+    context \"when user filled the required settings\" do\n+      let(:user) { FactoryGirl.create(:user, :with_user_setting) }\n+      it \"redirects to member profile page\" do","path":"spec/features/confirmations_controller_spec.rb","position":16,"original_position":16,"commit_id":"3d91a3a5471563ef2809f4f88b02d279db0b9876","original_commit_id":"3d91a3a5471563ef2809f4f88b02d279db0b9876","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2016-07-08T09:24:16Z","updated_at":"2016-07-08T09:24:16Z","html_url":"https://github.com/openfarmcc/OpenFarm/pull/757#discussion_r70047659","pull_request_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/757","_links":{"self":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/comments/70047659"},"html":{"href":"https://github.com/openfarmcc/OpenFarm/pull/757#discussion_r70047659"},"pull_request":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/757"}}},"pull_request":{"url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/757","id":76493424,"html_url":"https://github.com/openfarmcc/OpenFarm/pull/757","diff_url":"https://github.com/openfarmcc/OpenFarm/pull/757.diff","patch_url":"https://github.com/openfarmcc/OpenFarm/pull/757.patch","issue_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/757","number":757,"state":"open","locked":false,"title":"Fix issue#628","user":{"login":"TanSA05","id":9038802,"avatar_url":"https://avatars.githubusercontent.com/u/9038802?v=3","gravatar_id":"","url":"https://api.github.com/users/TanSA05","html_url":"https://github.com/TanSA05","followers_url":"https://api.github.com/users/TanSA05/followers","following_url":"https://api.github.com/users/TanSA05/following{/other_user}","gists_url":"https://api.github.com/users/TanSA05/gists{/gist_id}","starred_url":"https://api.github.com/users/TanSA05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanSA05/subscriptions","organizations_url":"https://api.github.com/users/TanSA05/orgs","repos_url":"https://api.github.com/users/TanSA05/repos","events_url":"https://api.github.com/users/TanSA05/events{/privacy}","received_events_url":"https://api.github.com/users/TanSA05/received_events","type":"User","site_admin":false},"body":"The following functionality has been implemented in this code, solving #628 \r\n- If user details(location and units) are not filled, email confirmation link redirects to finish page\r\n- Otherwise, email confirmation link redirects to member profile","created_at":"2016-07-06T20:10:41Z","updated_at":"2016-07-08T09:24:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ea9ae3c08204cb13195dee50cccd5a655fca4eb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/757/commits","review_comments_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/757/comments","review_comment_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/757/comments","statuses_url":"https://api.github.com/repos/openfarmcc/OpenFarm/statuses/3d91a3a5471563ef2809f4f88b02d279db0b9876","head":{"label":"TanSA05:tansa05_issue628","ref":"tansa05_issue628","sha":"3d91a3a5471563ef2809f4f88b02d279db0b9876","user":{"login":"TanSA05","id":9038802,"avatar_url":"https://avatars.githubusercontent.com/u/9038802?v=3","gravatar_id":"","url":"https://api.github.com/users/TanSA05","html_url":"https://github.com/TanSA05","followers_url":"https://api.github.com/users/TanSA05/followers","following_url":"https://api.github.com/users/TanSA05/following{/other_user}","gists_url":"https://api.github.com/users/TanSA05/gists{/gist_id}","starred_url":"https://api.github.com/users/TanSA05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanSA05/subscriptions","organizations_url":"https://api.github.com/users/TanSA05/orgs","repos_url":"https://api.github.com/users/TanSA05/repos","events_url":"https://api.github.com/users/TanSA05/events{/privacy}","received_events_url":"https://api.github.com/users/TanSA05/received_events","type":"User","site_admin":false},"repo":{"id":53431142,"name":"OpenFarm","full_name":"TanSA05/OpenFarm","owner":{"login":"TanSA05","id":9038802,"avatar_url":"https://avatars.githubusercontent.com/u/9038802?v=3","gravatar_id":"","url":"https://api.github.com/users/TanSA05","html_url":"https://github.com/TanSA05","followers_url":"https://api.github.com/users/TanSA05/followers","following_url":"https://api.github.com/users/TanSA05/following{/other_user}","gists_url":"https://api.github.com/users/TanSA05/gists{/gist_id}","starred_url":"https://api.github.com/users/TanSA05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanSA05/subscriptions","organizations_url":"https://api.github.com/users/TanSA05/orgs","repos_url":"https://api.github.com/users/TanSA05/repos","events_url":"https://api.github.com/users/TanSA05/events{/privacy}","received_events_url":"https://api.github.com/users/TanSA05/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TanSA05/OpenFarm","description":"A free and open database for farming and gardening knowledge. You can grow anything!","fork":true,"url":"https://api.github.com/repos/TanSA05/OpenFarm","forks_url":"https://api.github.com/repos/TanSA05/OpenFarm/forks","keys_url":"https://api.github.com/repos/TanSA05/OpenFarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TanSA05/OpenFarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TanSA05/OpenFarm/teams","hooks_url":"https://api.github.com/repos/TanSA05/OpenFarm/hooks","issue_events_url":"https://api.github.com/repos/TanSA05/OpenFarm/issues/events{/number}","events_url":"https://api.github.com/repos/TanSA05/OpenFarm/events","assignees_url":"https://api.github.com/repos/TanSA05/OpenFarm/assignees{/user}","branches_url":"https://api.github.com/repos/TanSA05/OpenFarm/branches{/branch}","tags_url":"https://api.github.com/repos/TanSA05/OpenFarm/tags","blobs_url":"https://api.github.com/repos/TanSA05/OpenFarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TanSA05/OpenFarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TanSA05/OpenFarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/TanSA05/OpenFarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TanSA05/OpenFarm/statuses/{sha}","languages_url":"https://api.github.com/repos/TanSA05/OpenFarm/languages","stargazers_url":"https://api.github.com/repos/TanSA05/OpenFarm/stargazers","contributors_url":"https://api.github.com/repos/TanSA05/OpenFarm/contributors","subscribers_url":"https://api.github.com/repos/TanSA05/OpenFarm/subscribers","subscription_url":"https://api.github.com/repos/TanSA05/OpenFarm/subscription","commits_url":"https://api.github.com/repos/TanSA05/OpenFarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/TanSA05/OpenFarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/TanSA05/OpenFarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/TanSA05/OpenFarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/TanSA05/OpenFarm/contents/{+path}","compare_url":"https://api.github.com/repos/TanSA05/OpenFarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TanSA05/OpenFarm/merges","archive_url":"https://api.github.com/repos/TanSA05/OpenFarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TanSA05/OpenFarm/downloads","issues_url":"https://api.github.com/repos/TanSA05/OpenFarm/issues{/number}","pulls_url":"https://api.github.com/repos/TanSA05/OpenFarm/pulls{/number}","milestones_url":"https://api.github.com/repos/TanSA05/OpenFarm/milestones{/number}","notifications_url":"https://api.github.com/repos/TanSA05/OpenFarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TanSA05/OpenFarm/labels{/name}","releases_url":"https://api.github.com/repos/TanSA05/OpenFarm/releases{/id}","deployments_url":"https://api.github.com/repos/TanSA05/OpenFarm/deployments","created_at":"2016-03-08T17:21:04Z","updated_at":"2016-04-09T13:25:40Z","pushed_at":"2016-07-08T09:24:04Z","git_url":"git://github.com/TanSA05/OpenFarm.git","ssh_url":"git@github.com:TanSA05/OpenFarm.git","clone_url":"https://github.com/TanSA05/OpenFarm.git","svn_url":"https://github.com/TanSA05/OpenFarm","homepage":"https://OpenFarm.cc","size":74011,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"openfarmcc:master","ref":"master","sha":"067f6a0ed1194ef9d1809151b6dffeb7f1a40ebd","user":{"login":"openfarmcc","id":10136787,"avatar_url":"https://avatars.githubusercontent.com/u/10136787?v=3","gravatar_id":"","url":"https://api.github.com/users/openfarmcc","html_url":"https://github.com/openfarmcc","followers_url":"https://api.github.com/users/openfarmcc/followers","following_url":"https://api.github.com/users/openfarmcc/following{/other_user}","gists_url":"https://api.github.com/users/openfarmcc/gists{/gist_id}","starred_url":"https://api.github.com/users/openfarmcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfarmcc/subscriptions","organizations_url":"https://api.github.com/users/openfarmcc/orgs","repos_url":"https://api.github.com/users/openfarmcc/repos","events_url":"https://api.github.com/users/openfarmcc/events{/privacy}","received_events_url":"https://api.github.com/users/openfarmcc/received_events","type":"Organization","site_admin":false},"repo":{"id":13895958,"name":"OpenFarm","full_name":"openfarmcc/OpenFarm","owner":{"login":"openfarmcc","id":10136787,"avatar_url":"https://avatars.githubusercontent.com/u/10136787?v=3","gravatar_id":"","url":"https://api.github.com/users/openfarmcc","html_url":"https://github.com/openfarmcc","followers_url":"https://api.github.com/users/openfarmcc/followers","following_url":"https://api.github.com/users/openfarmcc/following{/other_user}","gists_url":"https://api.github.com/users/openfarmcc/gists{/gist_id}","starred_url":"https://api.github.com/users/openfarmcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfarmcc/subscriptions","organizations_url":"https://api.github.com/users/openfarmcc/orgs","repos_url":"https://api.github.com/users/openfarmcc/repos","events_url":"https://api.github.com/users/openfarmcc/events{/privacy}","received_events_url":"https://api.github.com/users/openfarmcc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfarmcc/OpenFarm","description":"A free and open database for farming and gardening knowledge. You can grow anything!","fork":false,"url":"https://api.github.com/repos/openfarmcc/OpenFarm","forks_url":"https://api.github.com/repos/openfarmcc/OpenFarm/forks","keys_url":"https://api.github.com/repos/openfarmcc/OpenFarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfarmcc/OpenFarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfarmcc/OpenFarm/teams","hooks_url":"https://api.github.com/repos/openfarmcc/OpenFarm/hooks","issue_events_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/events{/number}","events_url":"https://api.github.com/repos/openfarmcc/OpenFarm/events","assignees_url":"https://api.github.com/repos/openfarmcc/OpenFarm/assignees{/user}","branches_url":"https://api.github.com/repos/openfarmcc/OpenFarm/branches{/branch}","tags_url":"https://api.github.com/repos/openfarmcc/OpenFarm/tags","blobs_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfarmcc/OpenFarm/statuses/{sha}","languages_url":"https://api.github.com/repos/openfarmcc/OpenFarm/languages","stargazers_url":"https://api.github.com/repos/openfarmcc/OpenFarm/stargazers","contributors_url":"https://api.github.com/repos/openfarmcc/OpenFarm/contributors","subscribers_url":"https://api.github.com/repos/openfarmcc/OpenFarm/subscribers","subscription_url":"https://api.github.com/repos/openfarmcc/OpenFarm/subscription","commits_url":"https://api.github.com/repos/openfarmcc/OpenFarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfarmcc/OpenFarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfarmcc/OpenFarm/contents/{+path}","compare_url":"https://api.github.com/repos/openfarmcc/OpenFarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfarmcc/OpenFarm/merges","archive_url":"https://api.github.com/repos/openfarmcc/OpenFarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfarmcc/OpenFarm/downloads","issues_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues{/number}","pulls_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls{/number}","milestones_url":"https://api.github.com/repos/openfarmcc/OpenFarm/milestones{/number}","notifications_url":"https://api.github.com/repos/openfarmcc/OpenFarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfarmcc/OpenFarm/labels{/name}","releases_url":"https://api.github.com/repos/openfarmcc/OpenFarm/releases{/id}","deployments_url":"https://api.github.com/repos/openfarmcc/OpenFarm/deployments","created_at":"2013-10-27T04:46:37Z","updated_at":"2016-07-08T03:05:59Z","pushed_at":"2016-07-08T09:24:06Z","git_url":"git://github.com/openfarmcc/OpenFarm.git","ssh_url":"git@github.com:openfarmcc/OpenFarm.git","clone_url":"https://github.com/openfarmcc/OpenFarm.git","svn_url":"https://github.com/openfarmcc/OpenFarm","homepage":"https://OpenFarm.cc","size":74928,"stargazers_count":331,"watchers_count":331,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":84,"mirror_url":null,"open_issues_count":80,"forks":84,"open_issues":80,"watchers":331,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/757"},"html":{"href":"https://github.com/openfarmcc/OpenFarm/pull/757"},"issue":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/757"},"comments":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/757/comments"},"review_comments":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/757/comments"},"review_comment":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/757/commits"},"statuses":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/statuses/3d91a3a5471563ef2809f4f88b02d279db0b9876"}}}}
{"actor":{"display_login":"houndci-bot"}}