{"action":"created","comment":{"url":"https://api.github.com/repos/marcindrozd/myflix/pulls/comments/26508441","id":26508441,"diff_hunk":"@@ -0,0 +1,42 @@\n+require 'spec_helper'\n+\n+feature \"Sending invitations\" do\n+  scenario \"user sends invitation to friend, friend opens the email and registers\" do\n+    bob = Fabricate(:user, full_name: \"Bob Robertson\")\n+    clear_emails\n+\n+    sign_in(bob)\n+    send_invitation_to_friend","path":"spec/features/invitations_spec.rb","position":9,"original_position":9,"commit_id":"b7d17fe1e122a946f1fe216d3b01a7d1064eab0d","original_commit_id":"b7d17fe1e122a946f1fe216d3b01a7d1064eab0d","user":{"login":"tomtomecek","id":7385469,"avatar_url":"https://avatars.githubusercontent.com/u/7385469?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtomecek","html_url":"https://github.com/tomtomecek","followers_url":"https://api.github.com/users/tomtomecek/followers","following_url":"https://api.github.com/users/tomtomecek/following{/other_user}","gists_url":"https://api.github.com/users/tomtomecek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtomecek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtomecek/subscriptions","organizations_url":"https://api.github.com/users/tomtomecek/orgs","repos_url":"https://api.github.com/users/tomtomecek/repos","events_url":"https://api.github.com/users/tomtomecek/events{/privacy}","received_events_url":"https://api.github.com/users/tomtomecek/received_events","type":"User","site_admin":false},"body":"I would be explicit here about who is `bob` inviting. I see you are asserting below about \"Kim Possible\". In your `check_if_user_add_to_following(\"Bob Robertson\")` You are checking on who is follower.","created_at":"2015-03-16T17:37:33Z","updated_at":"2015-03-16T17:37:33Z","html_url":"https://github.com/marcindrozd/myflix/pull/6#discussion_r26508441","pull_request_url":"https://api.github.com/repos/marcindrozd/myflix/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/marcindrozd/myflix/pulls/comments/26508441"},"html":{"href":"https://github.com/marcindrozd/myflix/pull/6#discussion_r26508441"},"pull_request":{"href":"https://api.github.com/repos/marcindrozd/myflix/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/marcindrozd/myflix/pulls/6","id":31250478,"html_url":"https://github.com/marcindrozd/myflix/pull/6","diff_url":"https://github.com/marcindrozd/myflix/pull/6.diff","patch_url":"https://github.com/marcindrozd/myflix/pull/6.patch","issue_url":"https://api.github.com/repos/marcindrozd/myflix/issues/6","number":6,"state":"open","locked":false,"title":"Week5","user":{"login":"marcindrozd","id":6452013,"avatar_url":"https://avatars.githubusercontent.com/u/6452013?v=3","gravatar_id":"","url":"https://api.github.com/users/marcindrozd","html_url":"https://github.com/marcindrozd","followers_url":"https://api.github.com/users/marcindrozd/followers","following_url":"https://api.github.com/users/marcindrozd/following{/other_user}","gists_url":"https://api.github.com/users/marcindrozd/gists{/gist_id}","starred_url":"https://api.github.com/users/marcindrozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcindrozd/subscriptions","organizations_url":"https://api.github.com/users/marcindrozd/orgs","repos_url":"https://api.github.com/users/marcindrozd/repos","events_url":"https://api.github.com/users/marcindrozd/events{/privacy}","received_events_url":"https://api.github.com/users/marcindrozd/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-16T14:55:55Z","updated_at":"2015-03-16T17:37:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b75126ef8779aff1a28d21f7a4dda948d4050f09","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/marcindrozd/myflix/pulls/6/commits","review_comments_url":"https://api.github.com/repos/marcindrozd/myflix/pulls/6/comments","review_comment_url":"https://api.github.com/repos/marcindrozd/myflix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marcindrozd/myflix/issues/6/comments","statuses_url":"https://api.github.com/repos/marcindrozd/myflix/statuses/b7d17fe1e122a946f1fe216d3b01a7d1064eab0d","head":{"label":"marcindrozd:week5","ref":"week5","sha":"b7d17fe1e122a946f1fe216d3b01a7d1064eab0d","user":{"login":"marcindrozd","id":6452013,"avatar_url":"https://avatars.githubusercontent.com/u/6452013?v=3","gravatar_id":"","url":"https://api.github.com/users/marcindrozd","html_url":"https://github.com/marcindrozd","followers_url":"https://api.github.com/users/marcindrozd/followers","following_url":"https://api.github.com/users/marcindrozd/following{/other_user}","gists_url":"https://api.github.com/users/marcindrozd/gists{/gist_id}","starred_url":"https://api.github.com/users/marcindrozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcindrozd/subscriptions","organizations_url":"https://api.github.com/users/marcindrozd/orgs","repos_url":"https://api.github.com/users/marcindrozd/repos","events_url":"https://api.github.com/users/marcindrozd/events{/privacy}","received_events_url":"https://api.github.com/users/marcindrozd/received_events","type":"User","site_admin":false},"repo":{"id":31164555,"name":"myflix","full_name":"marcindrozd/myflix","owner":{"login":"marcindrozd","id":6452013,"avatar_url":"https://avatars.githubusercontent.com/u/6452013?v=3","gravatar_id":"","url":"https://api.github.com/users/marcindrozd","html_url":"https://github.com/marcindrozd","followers_url":"https://api.github.com/users/marcindrozd/followers","following_url":"https://api.github.com/users/marcindrozd/following{/other_user}","gists_url":"https://api.github.com/users/marcindrozd/gists{/gist_id}","starred_url":"https://api.github.com/users/marcindrozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcindrozd/subscriptions","organizations_url":"https://api.github.com/users/marcindrozd/orgs","repos_url":"https://api.github.com/users/marcindrozd/repos","events_url":"https://api.github.com/users/marcindrozd/events{/privacy}","received_events_url":"https://api.github.com/users/marcindrozd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcindrozd/myflix","description":"","fork":false,"url":"https://api.github.com/repos/marcindrozd/myflix","forks_url":"https://api.github.com/repos/marcindrozd/myflix/forks","keys_url":"https://api.github.com/repos/marcindrozd/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcindrozd/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcindrozd/myflix/teams","hooks_url":"https://api.github.com/repos/marcindrozd/myflix/hooks","issue_events_url":"https://api.github.com/repos/marcindrozd/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/marcindrozd/myflix/events","assignees_url":"https://api.github.com/repos/marcindrozd/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/marcindrozd/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/marcindrozd/myflix/tags","blobs_url":"https://api.github.com/repos/marcindrozd/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcindrozd/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcindrozd/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcindrozd/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcindrozd/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/marcindrozd/myflix/languages","stargazers_url":"https://api.github.com/repos/marcindrozd/myflix/stargazers","contributors_url":"https://api.github.com/repos/marcindrozd/myflix/contributors","subscribers_url":"https://api.github.com/repos/marcindrozd/myflix/subscribers","subscription_url":"https://api.github.com/repos/marcindrozd/myflix/subscription","commits_url":"https://api.github.com/repos/marcindrozd/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcindrozd/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcindrozd/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcindrozd/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcindrozd/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/marcindrozd/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcindrozd/myflix/merges","archive_url":"https://api.github.com/repos/marcindrozd/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcindrozd/myflix/downloads","issues_url":"https://api.github.com/repos/marcindrozd/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/marcindrozd/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/marcindrozd/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/marcindrozd/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcindrozd/myflix/labels{/name}","releases_url":"https://api.github.com/repos/marcindrozd/myflix/releases{/id}","created_at":"2015-02-22T13:55:59Z","updated_at":"2015-03-13T18:59:41Z","pushed_at":"2015-03-16T14:21:58Z","git_url":"git://github.com/marcindrozd/myflix.git","ssh_url":"git@github.com:marcindrozd/myflix.git","clone_url":"https://github.com/marcindrozd/myflix.git","svn_url":"https://github.com/marcindrozd/myflix","homepage":null,"size":1440,"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":"marcindrozd:master","ref":"master","sha":"0b7149b09e417240a7a9d94df9a82a8f4957dde7","user":{"login":"marcindrozd","id":6452013,"avatar_url":"https://avatars.githubusercontent.com/u/6452013?v=3","gravatar_id":"","url":"https://api.github.com/users/marcindrozd","html_url":"https://github.com/marcindrozd","followers_url":"https://api.github.com/users/marcindrozd/followers","following_url":"https://api.github.com/users/marcindrozd/following{/other_user}","gists_url":"https://api.github.com/users/marcindrozd/gists{/gist_id}","starred_url":"https://api.github.com/users/marcindrozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcindrozd/subscriptions","organizations_url":"https://api.github.com/users/marcindrozd/orgs","repos_url":"https://api.github.com/users/marcindrozd/repos","events_url":"https://api.github.com/users/marcindrozd/events{/privacy}","received_events_url":"https://api.github.com/users/marcindrozd/received_events","type":"User","site_admin":false},"repo":{"id":31164555,"name":"myflix","full_name":"marcindrozd/myflix","owner":{"login":"marcindrozd","id":6452013,"avatar_url":"https://avatars.githubusercontent.com/u/6452013?v=3","gravatar_id":"","url":"https://api.github.com/users/marcindrozd","html_url":"https://github.com/marcindrozd","followers_url":"https://api.github.com/users/marcindrozd/followers","following_url":"https://api.github.com/users/marcindrozd/following{/other_user}","gists_url":"https://api.github.com/users/marcindrozd/gists{/gist_id}","starred_url":"https://api.github.com/users/marcindrozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcindrozd/subscriptions","organizations_url":"https://api.github.com/users/marcindrozd/orgs","repos_url":"https://api.github.com/users/marcindrozd/repos","events_url":"https://api.github.com/users/marcindrozd/events{/privacy}","received_events_url":"https://api.github.com/users/marcindrozd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcindrozd/myflix","description":"","fork":false,"url":"https://api.github.com/repos/marcindrozd/myflix","forks_url":"https://api.github.com/repos/marcindrozd/myflix/forks","keys_url":"https://api.github.com/repos/marcindrozd/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcindrozd/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcindrozd/myflix/teams","hooks_url":"https://api.github.com/repos/marcindrozd/myflix/hooks","issue_events_url":"https://api.github.com/repos/marcindrozd/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/marcindrozd/myflix/events","assignees_url":"https://api.github.com/repos/marcindrozd/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/marcindrozd/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/marcindrozd/myflix/tags","blobs_url":"https://api.github.com/repos/marcindrozd/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcindrozd/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcindrozd/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcindrozd/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcindrozd/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/marcindrozd/myflix/languages","stargazers_url":"https://api.github.com/repos/marcindrozd/myflix/stargazers","contributors_url":"https://api.github.com/repos/marcindrozd/myflix/contributors","subscribers_url":"https://api.github.com/repos/marcindrozd/myflix/subscribers","subscription_url":"https://api.github.com/repos/marcindrozd/myflix/subscription","commits_url":"https://api.github.com/repos/marcindrozd/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcindrozd/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcindrozd/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcindrozd/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcindrozd/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/marcindrozd/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcindrozd/myflix/merges","archive_url":"https://api.github.com/repos/marcindrozd/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcindrozd/myflix/downloads","issues_url":"https://api.github.com/repos/marcindrozd/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/marcindrozd/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/marcindrozd/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/marcindrozd/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcindrozd/myflix/labels{/name}","releases_url":"https://api.github.com/repos/marcindrozd/myflix/releases{/id}","created_at":"2015-02-22T13:55:59Z","updated_at":"2015-03-13T18:59:41Z","pushed_at":"2015-03-16T14:21:58Z","git_url":"git://github.com/marcindrozd/myflix.git","ssh_url":"git@github.com:marcindrozd/myflix.git","clone_url":"https://github.com/marcindrozd/myflix.git","svn_url":"https://github.com/marcindrozd/myflix","homepage":null,"size":1440,"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/marcindrozd/myflix/pulls/6"},"html":{"href":"https://github.com/marcindrozd/myflix/pull/6"},"issue":{"href":"https://api.github.com/repos/marcindrozd/myflix/issues/6"},"comments":{"href":"https://api.github.com/repos/marcindrozd/myflix/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/marcindrozd/myflix/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/marcindrozd/myflix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marcindrozd/myflix/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/marcindrozd/myflix/statuses/b7d17fe1e122a946f1fe216d3b01a7d1064eab0d"}}}}