{"action":"created","comment":{"url":"https://api.github.com/repos/annaguidi/breaktoy/pulls/comments/60630939","id":60630939,"diff_hunk":"@@ -0,0 +1,46 @@\n+require 'rails_helper'\n+feature \"User deletes his/her group\" do\n+  let!(:user) { FactoryGirl.create(:user) }\n+  let!(:profile) { FactoryGirl.create(:profile, user: user) }\n+\n+  let!(:user2) { FactoryGirl.create(:user) }\n+  let!(:profile2) { FactoryGirl.create(:profile, user: user2) }\n+\n+  let!(:group) { FactoryGirl.create(:group) }\n+\n+  let!(:member1) { FactoryGirl.create(:member, user: user, group: group, owner: true) }","path":"spec/features/groups/user_deletes_group_spec.rb","position":11,"original_position":11,"commit_id":"32b4ddb9a523eccae1defabec1190de1c37c4cef","original_commit_id":"32b4ddb9a523eccae1defabec1190de1c37c4cef","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":"Line is too long. [87/80]","created_at":"2016-04-21T18:22:38Z","updated_at":"2016-04-21T18:22:38Z","html_url":"https://github.com/annaguidi/breaktoy/pull/22#discussion_r60630939","pull_request_url":"https://api.github.com/repos/annaguidi/breaktoy/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/annaguidi/breaktoy/pulls/comments/60630939"},"html":{"href":"https://github.com/annaguidi/breaktoy/pull/22#discussion_r60630939"},"pull_request":{"href":"https://api.github.com/repos/annaguidi/breaktoy/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/annaguidi/breaktoy/pulls/22","id":67399568,"html_url":"https://github.com/annaguidi/breaktoy/pull/22","diff_url":"https://github.com/annaguidi/breaktoy/pull/22.diff","patch_url":"https://github.com/annaguidi/breaktoy/pull/22.patch","issue_url":"https://api.github.com/repos/annaguidi/breaktoy/issues/22","number":22,"state":"open","locked":false,"title":"fix API call and user can delete","user":{"login":"annaguidi","id":16431727,"avatar_url":"https://avatars.githubusercontent.com/u/16431727?v=3","gravatar_id":"","url":"https://api.github.com/users/annaguidi","html_url":"https://github.com/annaguidi","followers_url":"https://api.github.com/users/annaguidi/followers","following_url":"https://api.github.com/users/annaguidi/following{/other_user}","gists_url":"https://api.github.com/users/annaguidi/gists{/gist_id}","starred_url":"https://api.github.com/users/annaguidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annaguidi/subscriptions","organizations_url":"https://api.github.com/users/annaguidi/orgs","repos_url":"https://api.github.com/users/annaguidi/repos","events_url":"https://api.github.com/users/annaguidi/events{/privacy}","received_events_url":"https://api.github.com/users/annaguidi/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-21T18:22:34Z","updated_at":"2016-04-21T18:22:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a35b87e3926fba64669e5062b9a862d63903f4f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/annaguidi/breaktoy/pulls/22/commits","review_comments_url":"https://api.github.com/repos/annaguidi/breaktoy/pulls/22/comments","review_comment_url":"https://api.github.com/repos/annaguidi/breaktoy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/annaguidi/breaktoy/issues/22/comments","statuses_url":"https://api.github.com/repos/annaguidi/breaktoy/statuses/32b4ddb9a523eccae1defabec1190de1c37c4cef","head":{"label":"annaguidi:user_deletes_group","ref":"user_deletes_group","sha":"32b4ddb9a523eccae1defabec1190de1c37c4cef","user":{"login":"annaguidi","id":16431727,"avatar_url":"https://avatars.githubusercontent.com/u/16431727?v=3","gravatar_id":"","url":"https://api.github.com/users/annaguidi","html_url":"https://github.com/annaguidi","followers_url":"https://api.github.com/users/annaguidi/followers","following_url":"https://api.github.com/users/annaguidi/following{/other_user}","gists_url":"https://api.github.com/users/annaguidi/gists{/gist_id}","starred_url":"https://api.github.com/users/annaguidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annaguidi/subscriptions","organizations_url":"https://api.github.com/users/annaguidi/orgs","repos_url":"https://api.github.com/users/annaguidi/repos","events_url":"https://api.github.com/users/annaguidi/events{/privacy}","received_events_url":"https://api.github.com/users/annaguidi/received_events","type":"User","site_admin":false},"repo":{"id":56401173,"name":"breaktoy","full_name":"annaguidi/breaktoy","owner":{"login":"annaguidi","id":16431727,"avatar_url":"https://avatars.githubusercontent.com/u/16431727?v=3","gravatar_id":"","url":"https://api.github.com/users/annaguidi","html_url":"https://github.com/annaguidi","followers_url":"https://api.github.com/users/annaguidi/followers","following_url":"https://api.github.com/users/annaguidi/following{/other_user}","gists_url":"https://api.github.com/users/annaguidi/gists{/gist_id}","starred_url":"https://api.github.com/users/annaguidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annaguidi/subscriptions","organizations_url":"https://api.github.com/users/annaguidi/orgs","repos_url":"https://api.github.com/users/annaguidi/repos","events_url":"https://api.github.com/users/annaguidi/events{/privacy}","received_events_url":"https://api.github.com/users/annaguidi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annaguidi/breaktoy","description":null,"fork":false,"url":"https://api.github.com/repos/annaguidi/breaktoy","forks_url":"https://api.github.com/repos/annaguidi/breaktoy/forks","keys_url":"https://api.github.com/repos/annaguidi/breaktoy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annaguidi/breaktoy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annaguidi/breaktoy/teams","hooks_url":"https://api.github.com/repos/annaguidi/breaktoy/hooks","issue_events_url":"https://api.github.com/repos/annaguidi/breaktoy/issues/events{/number}","events_url":"https://api.github.com/repos/annaguidi/breaktoy/events","assignees_url":"https://api.github.com/repos/annaguidi/breaktoy/assignees{/user}","branches_url":"https://api.github.com/repos/annaguidi/breaktoy/branches{/branch}","tags_url":"https://api.github.com/repos/annaguidi/breaktoy/tags","blobs_url":"https://api.github.com/repos/annaguidi/breaktoy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annaguidi/breaktoy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annaguidi/breaktoy/git/refs{/sha}","trees_url":"https://api.github.com/repos/annaguidi/breaktoy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annaguidi/breaktoy/statuses/{sha}","languages_url":"https://api.github.com/repos/annaguidi/breaktoy/languages","stargazers_url":"https://api.github.com/repos/annaguidi/breaktoy/stargazers","contributors_url":"https://api.github.com/repos/annaguidi/breaktoy/contributors","subscribers_url":"https://api.github.com/repos/annaguidi/breaktoy/subscribers","subscription_url":"https://api.github.com/repos/annaguidi/breaktoy/subscription","commits_url":"https://api.github.com/repos/annaguidi/breaktoy/commits{/sha}","git_commits_url":"https://api.github.com/repos/annaguidi/breaktoy/git/commits{/sha}","comments_url":"https://api.github.com/repos/annaguidi/breaktoy/comments{/number}","issue_comment_url":"https://api.github.com/repos/annaguidi/breaktoy/issues/comments{/number}","contents_url":"https://api.github.com/repos/annaguidi/breaktoy/contents/{+path}","compare_url":"https://api.github.com/repos/annaguidi/breaktoy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annaguidi/breaktoy/merges","archive_url":"https://api.github.com/repos/annaguidi/breaktoy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annaguidi/breaktoy/downloads","issues_url":"https://api.github.com/repos/annaguidi/breaktoy/issues{/number}","pulls_url":"https://api.github.com/repos/annaguidi/breaktoy/pulls{/number}","milestones_url":"https://api.github.com/repos/annaguidi/breaktoy/milestones{/number}","notifications_url":"https://api.github.com/repos/annaguidi/breaktoy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annaguidi/breaktoy/labels{/name}","releases_url":"https://api.github.com/repos/annaguidi/breaktoy/releases{/id}","deployments_url":"https://api.github.com/repos/annaguidi/breaktoy/deployments","created_at":"2016-04-16T19:09:42Z","updated_at":"2016-04-16T19:52:35Z","pushed_at":"2016-04-21T18:22:34Z","git_url":"git://github.com/annaguidi/breaktoy.git","ssh_url":"git@github.com:annaguidi/breaktoy.git","clone_url":"https://github.com/annaguidi/breaktoy.git","svn_url":"https://github.com/annaguidi/breaktoy","homepage":null,"size":219,"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":"annaguidi:master","ref":"master","sha":"41dd513228a6127519af457fa26d057553ddd31f","user":{"login":"annaguidi","id":16431727,"avatar_url":"https://avatars.githubusercontent.com/u/16431727?v=3","gravatar_id":"","url":"https://api.github.com/users/annaguidi","html_url":"https://github.com/annaguidi","followers_url":"https://api.github.com/users/annaguidi/followers","following_url":"https://api.github.com/users/annaguidi/following{/other_user}","gists_url":"https://api.github.com/users/annaguidi/gists{/gist_id}","starred_url":"https://api.github.com/users/annaguidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annaguidi/subscriptions","organizations_url":"https://api.github.com/users/annaguidi/orgs","repos_url":"https://api.github.com/users/annaguidi/repos","events_url":"https://api.github.com/users/annaguidi/events{/privacy}","received_events_url":"https://api.github.com/users/annaguidi/received_events","type":"User","site_admin":false},"repo":{"id":56401173,"name":"breaktoy","full_name":"annaguidi/breaktoy","owner":{"login":"annaguidi","id":16431727,"avatar_url":"https://avatars.githubusercontent.com/u/16431727?v=3","gravatar_id":"","url":"https://api.github.com/users/annaguidi","html_url":"https://github.com/annaguidi","followers_url":"https://api.github.com/users/annaguidi/followers","following_url":"https://api.github.com/users/annaguidi/following{/other_user}","gists_url":"https://api.github.com/users/annaguidi/gists{/gist_id}","starred_url":"https://api.github.com/users/annaguidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annaguidi/subscriptions","organizations_url":"https://api.github.com/users/annaguidi/orgs","repos_url":"https://api.github.com/users/annaguidi/repos","events_url":"https://api.github.com/users/annaguidi/events{/privacy}","received_events_url":"https://api.github.com/users/annaguidi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annaguidi/breaktoy","description":null,"fork":false,"url":"https://api.github.com/repos/annaguidi/breaktoy","forks_url":"https://api.github.com/repos/annaguidi/breaktoy/forks","keys_url":"https://api.github.com/repos/annaguidi/breaktoy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annaguidi/breaktoy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annaguidi/breaktoy/teams","hooks_url":"https://api.github.com/repos/annaguidi/breaktoy/hooks","issue_events_url":"https://api.github.com/repos/annaguidi/breaktoy/issues/events{/number}","events_url":"https://api.github.com/repos/annaguidi/breaktoy/events","assignees_url":"https://api.github.com/repos/annaguidi/breaktoy/assignees{/user}","branches_url":"https://api.github.com/repos/annaguidi/breaktoy/branches{/branch}","tags_url":"https://api.github.com/repos/annaguidi/breaktoy/tags","blobs_url":"https://api.github.com/repos/annaguidi/breaktoy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annaguidi/breaktoy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annaguidi/breaktoy/git/refs{/sha}","trees_url":"https://api.github.com/repos/annaguidi/breaktoy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annaguidi/breaktoy/statuses/{sha}","languages_url":"https://api.github.com/repos/annaguidi/breaktoy/languages","stargazers_url":"https://api.github.com/repos/annaguidi/breaktoy/stargazers","contributors_url":"https://api.github.com/repos/annaguidi/breaktoy/contributors","subscribers_url":"https://api.github.com/repos/annaguidi/breaktoy/subscribers","subscription_url":"https://api.github.com/repos/annaguidi/breaktoy/subscription","commits_url":"https://api.github.com/repos/annaguidi/breaktoy/commits{/sha}","git_commits_url":"https://api.github.com/repos/annaguidi/breaktoy/git/commits{/sha}","comments_url":"https://api.github.com/repos/annaguidi/breaktoy/comments{/number}","issue_comment_url":"https://api.github.com/repos/annaguidi/breaktoy/issues/comments{/number}","contents_url":"https://api.github.com/repos/annaguidi/breaktoy/contents/{+path}","compare_url":"https://api.github.com/repos/annaguidi/breaktoy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annaguidi/breaktoy/merges","archive_url":"https://api.github.com/repos/annaguidi/breaktoy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annaguidi/breaktoy/downloads","issues_url":"https://api.github.com/repos/annaguidi/breaktoy/issues{/number}","pulls_url":"https://api.github.com/repos/annaguidi/breaktoy/pulls{/number}","milestones_url":"https://api.github.com/repos/annaguidi/breaktoy/milestones{/number}","notifications_url":"https://api.github.com/repos/annaguidi/breaktoy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annaguidi/breaktoy/labels{/name}","releases_url":"https://api.github.com/repos/annaguidi/breaktoy/releases{/id}","deployments_url":"https://api.github.com/repos/annaguidi/breaktoy/deployments","created_at":"2016-04-16T19:09:42Z","updated_at":"2016-04-16T19:52:35Z","pushed_at":"2016-04-21T18:22:34Z","git_url":"git://github.com/annaguidi/breaktoy.git","ssh_url":"git@github.com:annaguidi/breaktoy.git","clone_url":"https://github.com/annaguidi/breaktoy.git","svn_url":"https://github.com/annaguidi/breaktoy","homepage":null,"size":219,"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/annaguidi/breaktoy/pulls/22"},"html":{"href":"https://github.com/annaguidi/breaktoy/pull/22"},"issue":{"href":"https://api.github.com/repos/annaguidi/breaktoy/issues/22"},"comments":{"href":"https://api.github.com/repos/annaguidi/breaktoy/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/annaguidi/breaktoy/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/annaguidi/breaktoy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/annaguidi/breaktoy/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/annaguidi/breaktoy/statuses/32b4ddb9a523eccae1defabec1190de1c37c4cef"}}}}