{"action":"created","comment":{"url":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/comments/86096981","pull_request_review_id":6771472,"id":86096981,"diff_hunk":"@@ -17,24 +17,40 @@\n     end\n \n     scenario 'creates answer with valid data', js: true do\n-      fill_in 'Content', with: 'Test question content'\n-      click_on 'Сохранить ответ'\n+      within '.js-new-answer-for-question-form' do\n+        fill_in 'Content', with: 'Test question content'\n+\n+        click_on 'Добавить файл'\n+        file_input = all('input[type=\"file\"]')\n+        file_input[0].set(Rails.root + 'spec/support/files/test-file.jpg')","path":"spec/features/create_answer_spec.rb","position":11,"original_position":11,"commit_id":"e32edc18113c02f860faa310f1aa16c11cc43ae5","original_commit_id":"e32edc18113c02f860faa310f1aa16c11cc43ae5","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":"2016-11-02T09:07:05Z","updated_at":"2016-11-02T09:08:52Z","html_url":"https://github.com/selivanov-d/questions_answered/pull/6#discussion_r86096981","pull_request_url":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/comments/86096981"},"html":{"href":"https://github.com/selivanov-d/questions_answered/pull/6#discussion_r86096981"},"pull_request":{"href":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/6","id":91806596,"html_url":"https://github.com/selivanov-d/questions_answered/pull/6","diff_url":"https://github.com/selivanov-d/questions_answered/pull/6.diff","patch_url":"https://github.com/selivanov-d/questions_answered/pull/6.patch","issue_url":"https://api.github.com/repos/selivanov-d/questions_answered/issues/6","number":6,"state":"open","locked":false,"title":"Lesson 8","user":{"login":"selivanov-d","id":18160733,"avatar_url":"https://avatars.githubusercontent.com/u/18160733?v=3","gravatar_id":"","url":"https://api.github.com/users/selivanov-d","html_url":"https://github.com/selivanov-d","followers_url":"https://api.github.com/users/selivanov-d/followers","following_url":"https://api.github.com/users/selivanov-d/following{/other_user}","gists_url":"https://api.github.com/users/selivanov-d/gists{/gist_id}","starred_url":"https://api.github.com/users/selivanov-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selivanov-d/subscriptions","organizations_url":"https://api.github.com/users/selivanov-d/orgs","repos_url":"https://api.github.com/users/selivanov-d/repos","events_url":"https://api.github.com/users/selivanov-d/events{/privacy}","received_events_url":"https://api.github.com/users/selivanov-d/received_events","type":"User","site_admin":false},"body":"Added Lesson 8","created_at":"2016-11-01T15:41:08Z","updated_at":"2016-11-02T09:08:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e65328cb0284001e5dfcaaa65cb61ffe08d9266d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/6/commits","review_comments_url":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/6/comments","review_comment_url":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/comments{/number}","comments_url":"https://api.github.com/repos/selivanov-d/questions_answered/issues/6/comments","statuses_url":"https://api.github.com/repos/selivanov-d/questions_answered/statuses/e32edc18113c02f860faa310f1aa16c11cc43ae5","head":{"label":"selivanov-d:lesson-8","ref":"lesson-8","sha":"e32edc18113c02f860faa310f1aa16c11cc43ae5","user":{"login":"selivanov-d","id":18160733,"avatar_url":"https://avatars.githubusercontent.com/u/18160733?v=3","gravatar_id":"","url":"https://api.github.com/users/selivanov-d","html_url":"https://github.com/selivanov-d","followers_url":"https://api.github.com/users/selivanov-d/followers","following_url":"https://api.github.com/users/selivanov-d/following{/other_user}","gists_url":"https://api.github.com/users/selivanov-d/gists{/gist_id}","starred_url":"https://api.github.com/users/selivanov-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selivanov-d/subscriptions","organizations_url":"https://api.github.com/users/selivanov-d/orgs","repos_url":"https://api.github.com/users/selivanov-d/repos","events_url":"https://api.github.com/users/selivanov-d/events{/privacy}","received_events_url":"https://api.github.com/users/selivanov-d/received_events","type":"User","site_admin":false},"repo":{"id":70591617,"name":"questions_answered","full_name":"selivanov-d/questions_answered","owner":{"login":"selivanov-d","id":18160733,"avatar_url":"https://avatars.githubusercontent.com/u/18160733?v=3","gravatar_id":"","url":"https://api.github.com/users/selivanov-d","html_url":"https://github.com/selivanov-d","followers_url":"https://api.github.com/users/selivanov-d/followers","following_url":"https://api.github.com/users/selivanov-d/following{/other_user}","gists_url":"https://api.github.com/users/selivanov-d/gists{/gist_id}","starred_url":"https://api.github.com/users/selivanov-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selivanov-d/subscriptions","organizations_url":"https://api.github.com/users/selivanov-d/orgs","repos_url":"https://api.github.com/users/selivanov-d/repos","events_url":"https://api.github.com/users/selivanov-d/events{/privacy}","received_events_url":"https://api.github.com/users/selivanov-d/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/selivanov-d/questions_answered","description":null,"fork":false,"url":"https://api.github.com/repos/selivanov-d/questions_answered","forks_url":"https://api.github.com/repos/selivanov-d/questions_answered/forks","keys_url":"https://api.github.com/repos/selivanov-d/questions_answered/keys{/key_id}","collaborators_url":"https://api.github.com/repos/selivanov-d/questions_answered/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/selivanov-d/questions_answered/teams","hooks_url":"https://api.github.com/repos/selivanov-d/questions_answered/hooks","issue_events_url":"https://api.github.com/repos/selivanov-d/questions_answered/issues/events{/number}","events_url":"https://api.github.com/repos/selivanov-d/questions_answered/events","assignees_url":"https://api.github.com/repos/selivanov-d/questions_answered/assignees{/user}","branches_url":"https://api.github.com/repos/selivanov-d/questions_answered/branches{/branch}","tags_url":"https://api.github.com/repos/selivanov-d/questions_answered/tags","blobs_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/refs{/sha}","trees_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/trees{/sha}","statuses_url":"https://api.github.com/repos/selivanov-d/questions_answered/statuses/{sha}","languages_url":"https://api.github.com/repos/selivanov-d/questions_answered/languages","stargazers_url":"https://api.github.com/repos/selivanov-d/questions_answered/stargazers","contributors_url":"https://api.github.com/repos/selivanov-d/questions_answered/contributors","subscribers_url":"https://api.github.com/repos/selivanov-d/questions_answered/subscribers","subscription_url":"https://api.github.com/repos/selivanov-d/questions_answered/subscription","commits_url":"https://api.github.com/repos/selivanov-d/questions_answered/commits{/sha}","git_commits_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/commits{/sha}","comments_url":"https://api.github.com/repos/selivanov-d/questions_answered/comments{/number}","issue_comment_url":"https://api.github.com/repos/selivanov-d/questions_answered/issues/comments{/number}","contents_url":"https://api.github.com/repos/selivanov-d/questions_answered/contents/{+path}","compare_url":"https://api.github.com/repos/selivanov-d/questions_answered/compare/{base}...{head}","merges_url":"https://api.github.com/repos/selivanov-d/questions_answered/merges","archive_url":"https://api.github.com/repos/selivanov-d/questions_answered/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/selivanov-d/questions_answered/downloads","issues_url":"https://api.github.com/repos/selivanov-d/questions_answered/issues{/number}","pulls_url":"https://api.github.com/repos/selivanov-d/questions_answered/pulls{/number}","milestones_url":"https://api.github.com/repos/selivanov-d/questions_answered/milestones{/number}","notifications_url":"https://api.github.com/repos/selivanov-d/questions_answered/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/selivanov-d/questions_answered/labels{/name}","releases_url":"https://api.github.com/repos/selivanov-d/questions_answered/releases{/id}","deployments_url":"https://api.github.com/repos/selivanov-d/questions_answered/deployments","created_at":"2016-10-11T12:36:59Z","updated_at":"2016-10-11T12:40:45Z","pushed_at":"2016-11-01T19:14:52Z","git_url":"git://github.com/selivanov-d/questions_answered.git","ssh_url":"git@github.com:selivanov-d/questions_answered.git","clone_url":"https://github.com/selivanov-d/questions_answered.git","svn_url":"https://github.com/selivanov-d/questions_answered","homepage":null,"size":372,"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":"selivanov-d:master","ref":"master","sha":"b5e3afed86c02f9e92b2acf53751254477597366","user":{"login":"selivanov-d","id":18160733,"avatar_url":"https://avatars.githubusercontent.com/u/18160733?v=3","gravatar_id":"","url":"https://api.github.com/users/selivanov-d","html_url":"https://github.com/selivanov-d","followers_url":"https://api.github.com/users/selivanov-d/followers","following_url":"https://api.github.com/users/selivanov-d/following{/other_user}","gists_url":"https://api.github.com/users/selivanov-d/gists{/gist_id}","starred_url":"https://api.github.com/users/selivanov-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selivanov-d/subscriptions","organizations_url":"https://api.github.com/users/selivanov-d/orgs","repos_url":"https://api.github.com/users/selivanov-d/repos","events_url":"https://api.github.com/users/selivanov-d/events{/privacy}","received_events_url":"https://api.github.com/users/selivanov-d/received_events","type":"User","site_admin":false},"repo":{"id":70591617,"name":"questions_answered","full_name":"selivanov-d/questions_answered","owner":{"login":"selivanov-d","id":18160733,"avatar_url":"https://avatars.githubusercontent.com/u/18160733?v=3","gravatar_id":"","url":"https://api.github.com/users/selivanov-d","html_url":"https://github.com/selivanov-d","followers_url":"https://api.github.com/users/selivanov-d/followers","following_url":"https://api.github.com/users/selivanov-d/following{/other_user}","gists_url":"https://api.github.com/users/selivanov-d/gists{/gist_id}","starred_url":"https://api.github.com/users/selivanov-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selivanov-d/subscriptions","organizations_url":"https://api.github.com/users/selivanov-d/orgs","repos_url":"https://api.github.com/users/selivanov-d/repos","events_url":"https://api.github.com/users/selivanov-d/events{/privacy}","received_events_url":"https://api.github.com/users/selivanov-d/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/selivanov-d/questions_answered","description":null,"fork":false,"url":"https://api.github.com/repos/selivanov-d/questions_answered","forks_url":"https://api.github.com/repos/selivanov-d/questions_answered/forks","keys_url":"https://api.github.com/repos/selivanov-d/questions_answered/keys{/key_id}","collaborators_url":"https://api.github.com/repos/selivanov-d/questions_answered/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/selivanov-d/questions_answered/teams","hooks_url":"https://api.github.com/repos/selivanov-d/questions_answered/hooks","issue_events_url":"https://api.github.com/repos/selivanov-d/questions_answered/issues/events{/number}","events_url":"https://api.github.com/repos/selivanov-d/questions_answered/events","assignees_url":"https://api.github.com/repos/selivanov-d/questions_answered/assignees{/user}","branches_url":"https://api.github.com/repos/selivanov-d/questions_answered/branches{/branch}","tags_url":"https://api.github.com/repos/selivanov-d/questions_answered/tags","blobs_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/refs{/sha}","trees_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/trees{/sha}","statuses_url":"https://api.github.com/repos/selivanov-d/questions_answered/statuses/{sha}","languages_url":"https://api.github.com/repos/selivanov-d/questions_answered/languages","stargazers_url":"https://api.github.com/repos/selivanov-d/questions_answered/stargazers","contributors_url":"https://api.github.com/repos/selivanov-d/questions_answered/contributors","subscribers_url":"https://api.github.com/repos/selivanov-d/questions_answered/subscribers","subscription_url":"https://api.github.com/repos/selivanov-d/questions_answered/subscription","commits_url":"https://api.github.com/repos/selivanov-d/questions_answered/commits{/sha}","git_commits_url":"https://api.github.com/repos/selivanov-d/questions_answered/git/commits{/sha}","comments_url":"https://api.github.com/repos/selivanov-d/questions_answered/comments{/number}","issue_comment_url":"https://api.github.com/repos/selivanov-d/questions_answered/issues/comments{/number}","contents_url":"https://api.github.com/repos/selivanov-d/questions_answered/contents/{+path}","compare_url":"https://api.github.com/repos/selivanov-d/questions_answered/compare/{base}...{head}","merges_url":"https://api.github.com/repos/selivanov-d/questions_answered/merges","archive_url":"https://api.github.com/repos/selivanov-d/questions_answered/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/selivanov-d/questions_answered/downloads","issues_url":"https://api.github.com/repos/selivanov-d/questions_answered/issues{/number}","pulls_url":"https://api.github.com/repos/selivanov-d/questions_answered/pulls{/number}","milestones_url":"https://api.github.com/repos/selivanov-d/questions_answered/milestones{/number}","notifications_url":"https://api.github.com/repos/selivanov-d/questions_answered/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/selivanov-d/questions_answered/labels{/name}","releases_url":"https://api.github.com/repos/selivanov-d/questions_answered/releases{/id}","deployments_url":"https://api.github.com/repos/selivanov-d/questions_answered/deployments","created_at":"2016-10-11T12:36:59Z","updated_at":"2016-10-11T12:40:45Z","pushed_at":"2016-11-01T19:14:52Z","git_url":"git://github.com/selivanov-d/questions_answered.git","ssh_url":"git@github.com:selivanov-d/questions_answered.git","clone_url":"https://github.com/selivanov-d/questions_answered.git","svn_url":"https://github.com/selivanov-d/questions_answered","homepage":null,"size":372,"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/selivanov-d/questions_answered/pulls/6"},"html":{"href":"https://github.com/selivanov-d/questions_answered/pull/6"},"issue":{"href":"https://api.github.com/repos/selivanov-d/questions_answered/issues/6"},"comments":{"href":"https://api.github.com/repos/selivanov-d/questions_answered/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/selivanov-d/questions_answered/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/selivanov-d/questions_answered/statuses/e32edc18113c02f860faa310f1aa16c11cc43ae5"}}}}
{"actor":{"display_login":"vkurennov"}}