{"action":"created","comment":{"url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/comments/33162904","id":33162904,"diff_hunk":"@@ -0,0 +1,38 @@\n+require 'rails_helper'\n+\n+feature 'Authenticated user can delete his question', \" DESCRIPTION: To hide his problem - Authenticated User - Can delete his question\" do\n+\n+  given(:user) { create(:user) }\n+  given(:user1) { create(:user) }\n+  given(:question) { create(:question, user: user) }\n+\n+\n+  scenario 'Authenticated user can delete his question' do\n+    sign_in(user)\n+\n+    visit question_path(question)\n+    click_on 'Delete question'\n+\n+    expect(page).to have_content 'Your question successfully deleted!'\n+    expect(current_path).to eq questions_path","path":"spec/acceptance/question/delete_question_spec.rb","position":17,"original_position":17,"commit_id":"2e1fbebd1e9fefe81e20a5deee141d79fad8bfd2","original_commit_id":"2e1fbebd1e9fefe81e20a5deee141d79fad8bfd2","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"body":"Нужнт проверить наличие заголовка и текста вопроса на странице","created_at":"2015-06-24T15:54:48Z","updated_at":"2015-06-24T15:54:48Z","html_url":"https://github.com/yaleads/yaleads_thinknetica/pull/3#discussion_r33162904","pull_request_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/comments/33162904"},"html":{"href":"https://github.com/yaleads/yaleads_thinknetica/pull/3#discussion_r33162904"},"pull_request":{"href":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/3","id":38397106,"html_url":"https://github.com/yaleads/yaleads_thinknetica/pull/3","diff_url":"https://github.com/yaleads/yaleads_thinknetica/pull/3.diff","patch_url":"https://github.com/yaleads/yaleads_thinknetica/pull/3.patch","issue_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues/3","number":3,"state":"open","locked":false,"title":"Lesson05","user":{"login":"yaleads","id":7889940,"avatar_url":"https://avatars.githubusercontent.com/u/7889940?v=3","gravatar_id":"","url":"https://api.github.com/users/yaleads","html_url":"https://github.com/yaleads","followers_url":"https://api.github.com/users/yaleads/followers","following_url":"https://api.github.com/users/yaleads/following{/other_user}","gists_url":"https://api.github.com/users/yaleads/gists{/gist_id}","starred_url":"https://api.github.com/users/yaleads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaleads/subscriptions","organizations_url":"https://api.github.com/users/yaleads/orgs","repos_url":"https://api.github.com/users/yaleads/repos","events_url":"https://api.github.com/users/yaleads/events{/privacy}","received_events_url":"https://api.github.com/users/yaleads/received_events","type":"User","site_admin":false},"body":"Added acceptance tests\r\nAdded Authentication\r\nAdded delete controls","created_at":"2015-06-24T00:26:19Z","updated_at":"2015-06-24T15:54:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b49c0287b6b1093113888a5484f519e17dadf60d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/3/commits","review_comments_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/3/comments","review_comment_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues/3/comments","statuses_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/statuses/2e1fbebd1e9fefe81e20a5deee141d79fad8bfd2","head":{"label":"yaleads:lesson05","ref":"lesson05","sha":"2e1fbebd1e9fefe81e20a5deee141d79fad8bfd2","user":{"login":"yaleads","id":7889940,"avatar_url":"https://avatars.githubusercontent.com/u/7889940?v=3","gravatar_id":"","url":"https://api.github.com/users/yaleads","html_url":"https://github.com/yaleads","followers_url":"https://api.github.com/users/yaleads/followers","following_url":"https://api.github.com/users/yaleads/following{/other_user}","gists_url":"https://api.github.com/users/yaleads/gists{/gist_id}","starred_url":"https://api.github.com/users/yaleads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaleads/subscriptions","organizations_url":"https://api.github.com/users/yaleads/orgs","repos_url":"https://api.github.com/users/yaleads/repos","events_url":"https://api.github.com/users/yaleads/events{/privacy}","received_events_url":"https://api.github.com/users/yaleads/received_events","type":"User","site_admin":false},"repo":{"id":36596751,"name":"yaleads_thinknetica","full_name":"yaleads/yaleads_thinknetica","owner":{"login":"yaleads","id":7889940,"avatar_url":"https://avatars.githubusercontent.com/u/7889940?v=3","gravatar_id":"","url":"https://api.github.com/users/yaleads","html_url":"https://github.com/yaleads","followers_url":"https://api.github.com/users/yaleads/followers","following_url":"https://api.github.com/users/yaleads/following{/other_user}","gists_url":"https://api.github.com/users/yaleads/gists{/gist_id}","starred_url":"https://api.github.com/users/yaleads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaleads/subscriptions","organizations_url":"https://api.github.com/users/yaleads/orgs","repos_url":"https://api.github.com/users/yaleads/repos","events_url":"https://api.github.com/users/yaleads/events{/privacy}","received_events_url":"https://api.github.com/users/yaleads/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yaleads/yaleads_thinknetica","description":"Репозиторий для учебного приложения курса Thinknetica","fork":false,"url":"https://api.github.com/repos/yaleads/yaleads_thinknetica","forks_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/forks","keys_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/teams","hooks_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/hooks","issue_events_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues/events{/number}","events_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/events","assignees_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/assignees{/user}","branches_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/branches{/branch}","tags_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/tags","blobs_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/refs{/sha}","trees_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/statuses/{sha}","languages_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/languages","stargazers_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/stargazers","contributors_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/contributors","subscribers_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/subscribers","subscription_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/subscription","commits_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/commits{/sha}","git_commits_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/commits{/sha}","comments_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/comments{/number}","issue_comment_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues/comments{/number}","contents_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/contents/{+path}","compare_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/merges","archive_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/downloads","issues_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues{/number}","pulls_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls{/number}","milestones_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/milestones{/number}","notifications_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/labels{/name}","releases_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/releases{/id}","created_at":"2015-05-31T09:44:03Z","updated_at":"2015-05-31T10:56:13Z","pushed_at":"2015-06-24T00:26:20Z","git_url":"git://github.com/yaleads/yaleads_thinknetica.git","ssh_url":"git@github.com:yaleads/yaleads_thinknetica.git","clone_url":"https://github.com/yaleads/yaleads_thinknetica.git","svn_url":"https://github.com/yaleads/yaleads_thinknetica","homepage":null,"size":264,"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":"yaleads:master","ref":"master","sha":"66692954a3249da6a873dee31fd7fa57fea6faf8","user":{"login":"yaleads","id":7889940,"avatar_url":"https://avatars.githubusercontent.com/u/7889940?v=3","gravatar_id":"","url":"https://api.github.com/users/yaleads","html_url":"https://github.com/yaleads","followers_url":"https://api.github.com/users/yaleads/followers","following_url":"https://api.github.com/users/yaleads/following{/other_user}","gists_url":"https://api.github.com/users/yaleads/gists{/gist_id}","starred_url":"https://api.github.com/users/yaleads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaleads/subscriptions","organizations_url":"https://api.github.com/users/yaleads/orgs","repos_url":"https://api.github.com/users/yaleads/repos","events_url":"https://api.github.com/users/yaleads/events{/privacy}","received_events_url":"https://api.github.com/users/yaleads/received_events","type":"User","site_admin":false},"repo":{"id":36596751,"name":"yaleads_thinknetica","full_name":"yaleads/yaleads_thinknetica","owner":{"login":"yaleads","id":7889940,"avatar_url":"https://avatars.githubusercontent.com/u/7889940?v=3","gravatar_id":"","url":"https://api.github.com/users/yaleads","html_url":"https://github.com/yaleads","followers_url":"https://api.github.com/users/yaleads/followers","following_url":"https://api.github.com/users/yaleads/following{/other_user}","gists_url":"https://api.github.com/users/yaleads/gists{/gist_id}","starred_url":"https://api.github.com/users/yaleads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaleads/subscriptions","organizations_url":"https://api.github.com/users/yaleads/orgs","repos_url":"https://api.github.com/users/yaleads/repos","events_url":"https://api.github.com/users/yaleads/events{/privacy}","received_events_url":"https://api.github.com/users/yaleads/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yaleads/yaleads_thinknetica","description":"Репозиторий для учебного приложения курса Thinknetica","fork":false,"url":"https://api.github.com/repos/yaleads/yaleads_thinknetica","forks_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/forks","keys_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/teams","hooks_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/hooks","issue_events_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues/events{/number}","events_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/events","assignees_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/assignees{/user}","branches_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/branches{/branch}","tags_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/tags","blobs_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/refs{/sha}","trees_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/statuses/{sha}","languages_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/languages","stargazers_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/stargazers","contributors_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/contributors","subscribers_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/subscribers","subscription_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/subscription","commits_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/commits{/sha}","git_commits_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/git/commits{/sha}","comments_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/comments{/number}","issue_comment_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues/comments{/number}","contents_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/contents/{+path}","compare_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/merges","archive_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/downloads","issues_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues{/number}","pulls_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls{/number}","milestones_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/milestones{/number}","notifications_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/labels{/name}","releases_url":"https://api.github.com/repos/yaleads/yaleads_thinknetica/releases{/id}","created_at":"2015-05-31T09:44:03Z","updated_at":"2015-05-31T10:56:13Z","pushed_at":"2015-06-24T00:26:20Z","git_url":"git://github.com/yaleads/yaleads_thinknetica.git","ssh_url":"git@github.com:yaleads/yaleads_thinknetica.git","clone_url":"https://github.com/yaleads/yaleads_thinknetica.git","svn_url":"https://github.com/yaleads/yaleads_thinknetica","homepage":null,"size":264,"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/yaleads/yaleads_thinknetica/pulls/3"},"html":{"href":"https://github.com/yaleads/yaleads_thinknetica/pull/3"},"issue":{"href":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues/3"},"comments":{"href":"https://api.github.com/repos/yaleads/yaleads_thinknetica/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yaleads/yaleads_thinknetica/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/yaleads/yaleads_thinknetica/statuses/2e1fbebd1e9fefe81e20a5deee141d79fad8bfd2"}}}}