{"action":"created","comment":{"url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/comments/91484972","pull_request_review_id":11992759,"id":91484972,"diff_hunk":"@@ -13,24 +13,21 @@ def t(string, options={})\n     fill_in 'Email', with: @user.email\n     fill_in 'Password', with: 'password'\n     click_on t('Log')\n-    expect(page).to have_content t('Succesfully_logined')\n-    @card = create(:card, user: @user) \n+    expect(page).to have_content @user.email\n+    @pack = create(:pack, user: @user)    \n+    @card = create(:card, pack: @pack) \n     @user1 = create(:user, email: 'mail1@mail.com', password: 'password1', password_confirmation: 'password1')\n-    @card1 = create(:card, original_text: 'ja', translated_text: 'yes', user: @user1)         \n+    @pack1 = create(:pack, user: @user1, title: 'AnotherPack')  \n+    @card1 = create(:card, original_text: 'ja', translated_text: 'yes', pack: @pack)         \n   end\n   \n   scenario 'user can`t edit another users profile' do\n     click_on t('Edit_profile')            \n     expect(page).to_not have_content @user1.email                 \n   end \n   \n-  scenario 'user can`t see another users cards' do\n-    click_on t('All_cards')\n-    expect(page).to_not have_content @card1.original_text          \n-  end   \n-  \n-  scenario 'user can`t check another users cards' do\n-    click_on t('Training')   \n-    expect(page).to_not have_content @card1.original_text      \n-  end   \n+  scenario 'user can`t see another users packs' do\n+    click_on t('All_packs')\n+    expect(page).to_not have_content @pack1.title          ","path":"spec/features/users/logined_users_denied_actions_spec.rb","position":31,"original_position":31,"commit_id":"7ad143a3e58772206186451ceedfc773415f622c","original_commit_id":"7ad143a3e58772206186451ceedfc773415f622c","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":"Trailing whitespace detected.","created_at":"2016-12-08T10:21:16Z","updated_at":"2016-12-08T10:21:16Z","html_url":"https://github.com/ValentinAndreev/flashcards/pull/88#discussion_r91484972","pull_request_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/comments/91484972"},"html":{"href":"https://github.com/ValentinAndreev/flashcards/pull/88#discussion_r91484972"},"pull_request":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/88","id":97094367,"html_url":"https://github.com/ValentinAndreev/flashcards/pull/88","diff_url":"https://github.com/ValentinAndreev/flashcards/pull/88.diff","patch_url":"https://github.com/ValentinAndreev/flashcards/pull/88.patch","issue_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/88","number":88,"state":"open","locked":false,"title":"Add pack","user":{"login":"ValentinAndreev","id":19556071,"avatar_url":"https://avatars.githubusercontent.com/u/19556071?v=3","gravatar_id":"","url":"https://api.github.com/users/ValentinAndreev","html_url":"https://github.com/ValentinAndreev","followers_url":"https://api.github.com/users/ValentinAndreev/followers","following_url":"https://api.github.com/users/ValentinAndreev/following{/other_user}","gists_url":"https://api.github.com/users/ValentinAndreev/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentinAndreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentinAndreev/subscriptions","organizations_url":"https://api.github.com/users/ValentinAndreev/orgs","repos_url":"https://api.github.com/users/ValentinAndreev/repos","events_url":"https://api.github.com/users/ValentinAndreev/events{/privacy}","received_events_url":"https://api.github.com/users/ValentinAndreev/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-08T10:20:53Z","updated_at":"2016-12-08T10:21:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef3e4817aaa2efbc52c7b91ced00c691f8122e16","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/88/commits","review_comments_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/88/comments","review_comment_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/88/comments","statuses_url":"https://api.github.com/repos/ValentinAndreev/flashcards/statuses/7ad143a3e58772206186451ceedfc773415f622c","head":{"label":"ValentinAndreev:pack","ref":"pack","sha":"7ad143a3e58772206186451ceedfc773415f622c","user":{"login":"ValentinAndreev","id":19556071,"avatar_url":"https://avatars.githubusercontent.com/u/19556071?v=3","gravatar_id":"","url":"https://api.github.com/users/ValentinAndreev","html_url":"https://github.com/ValentinAndreev","followers_url":"https://api.github.com/users/ValentinAndreev/followers","following_url":"https://api.github.com/users/ValentinAndreev/following{/other_user}","gists_url":"https://api.github.com/users/ValentinAndreev/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentinAndreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentinAndreev/subscriptions","organizations_url":"https://api.github.com/users/ValentinAndreev/orgs","repos_url":"https://api.github.com/users/ValentinAndreev/repos","events_url":"https://api.github.com/users/ValentinAndreev/events{/privacy}","received_events_url":"https://api.github.com/users/ValentinAndreev/received_events","type":"User","site_admin":false},"repo":{"id":73261209,"name":"flashcards","full_name":"ValentinAndreev/flashcards","owner":{"login":"ValentinAndreev","id":19556071,"avatar_url":"https://avatars.githubusercontent.com/u/19556071?v=3","gravatar_id":"","url":"https://api.github.com/users/ValentinAndreev","html_url":"https://github.com/ValentinAndreev","followers_url":"https://api.github.com/users/ValentinAndreev/followers","following_url":"https://api.github.com/users/ValentinAndreev/following{/other_user}","gists_url":"https://api.github.com/users/ValentinAndreev/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentinAndreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentinAndreev/subscriptions","organizations_url":"https://api.github.com/users/ValentinAndreev/orgs","repos_url":"https://api.github.com/users/ValentinAndreev/repos","events_url":"https://api.github.com/users/ValentinAndreev/events{/privacy}","received_events_url":"https://api.github.com/users/ValentinAndreev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ValentinAndreev/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/ValentinAndreev/flashcards","forks_url":"https://api.github.com/repos/ValentinAndreev/flashcards/forks","keys_url":"https://api.github.com/repos/ValentinAndreev/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ValentinAndreev/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ValentinAndreev/flashcards/teams","hooks_url":"https://api.github.com/repos/ValentinAndreev/flashcards/hooks","issue_events_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/ValentinAndreev/flashcards/events","assignees_url":"https://api.github.com/repos/ValentinAndreev/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/ValentinAndreev/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/ValentinAndreev/flashcards/tags","blobs_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ValentinAndreev/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/ValentinAndreev/flashcards/languages","stargazers_url":"https://api.github.com/repos/ValentinAndreev/flashcards/stargazers","contributors_url":"https://api.github.com/repos/ValentinAndreev/flashcards/contributors","subscribers_url":"https://api.github.com/repos/ValentinAndreev/flashcards/subscribers","subscription_url":"https://api.github.com/repos/ValentinAndreev/flashcards/subscription","commits_url":"https://api.github.com/repos/ValentinAndreev/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/ValentinAndreev/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/ValentinAndreev/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/ValentinAndreev/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ValentinAndreev/flashcards/merges","archive_url":"https://api.github.com/repos/ValentinAndreev/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ValentinAndreev/flashcards/downloads","issues_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/ValentinAndreev/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/ValentinAndreev/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ValentinAndreev/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/ValentinAndreev/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/ValentinAndreev/flashcards/deployments","created_at":"2016-11-09T07:30:25Z","updated_at":"2016-11-09T10:15:15Z","pushed_at":"2016-12-08T10:20:53Z","git_url":"git://github.com/ValentinAndreev/flashcards.git","ssh_url":"git@github.com:ValentinAndreev/flashcards.git","clone_url":"https://github.com/ValentinAndreev/flashcards.git","svn_url":"https://github.com/ValentinAndreev/flashcards","homepage":null,"size":322,"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":"ValentinAndreev:master","ref":"master","sha":"6ebe95f003a6a83f4fc5ecba49bffef77f2f36e9","user":{"login":"ValentinAndreev","id":19556071,"avatar_url":"https://avatars.githubusercontent.com/u/19556071?v=3","gravatar_id":"","url":"https://api.github.com/users/ValentinAndreev","html_url":"https://github.com/ValentinAndreev","followers_url":"https://api.github.com/users/ValentinAndreev/followers","following_url":"https://api.github.com/users/ValentinAndreev/following{/other_user}","gists_url":"https://api.github.com/users/ValentinAndreev/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentinAndreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentinAndreev/subscriptions","organizations_url":"https://api.github.com/users/ValentinAndreev/orgs","repos_url":"https://api.github.com/users/ValentinAndreev/repos","events_url":"https://api.github.com/users/ValentinAndreev/events{/privacy}","received_events_url":"https://api.github.com/users/ValentinAndreev/received_events","type":"User","site_admin":false},"repo":{"id":73261209,"name":"flashcards","full_name":"ValentinAndreev/flashcards","owner":{"login":"ValentinAndreev","id":19556071,"avatar_url":"https://avatars.githubusercontent.com/u/19556071?v=3","gravatar_id":"","url":"https://api.github.com/users/ValentinAndreev","html_url":"https://github.com/ValentinAndreev","followers_url":"https://api.github.com/users/ValentinAndreev/followers","following_url":"https://api.github.com/users/ValentinAndreev/following{/other_user}","gists_url":"https://api.github.com/users/ValentinAndreev/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentinAndreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentinAndreev/subscriptions","organizations_url":"https://api.github.com/users/ValentinAndreev/orgs","repos_url":"https://api.github.com/users/ValentinAndreev/repos","events_url":"https://api.github.com/users/ValentinAndreev/events{/privacy}","received_events_url":"https://api.github.com/users/ValentinAndreev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ValentinAndreev/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/ValentinAndreev/flashcards","forks_url":"https://api.github.com/repos/ValentinAndreev/flashcards/forks","keys_url":"https://api.github.com/repos/ValentinAndreev/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ValentinAndreev/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ValentinAndreev/flashcards/teams","hooks_url":"https://api.github.com/repos/ValentinAndreev/flashcards/hooks","issue_events_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/ValentinAndreev/flashcards/events","assignees_url":"https://api.github.com/repos/ValentinAndreev/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/ValentinAndreev/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/ValentinAndreev/flashcards/tags","blobs_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ValentinAndreev/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/ValentinAndreev/flashcards/languages","stargazers_url":"https://api.github.com/repos/ValentinAndreev/flashcards/stargazers","contributors_url":"https://api.github.com/repos/ValentinAndreev/flashcards/contributors","subscribers_url":"https://api.github.com/repos/ValentinAndreev/flashcards/subscribers","subscription_url":"https://api.github.com/repos/ValentinAndreev/flashcards/subscription","commits_url":"https://api.github.com/repos/ValentinAndreev/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/ValentinAndreev/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/ValentinAndreev/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/ValentinAndreev/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/ValentinAndreev/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ValentinAndreev/flashcards/merges","archive_url":"https://api.github.com/repos/ValentinAndreev/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ValentinAndreev/flashcards/downloads","issues_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/ValentinAndreev/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/ValentinAndreev/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ValentinAndreev/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/ValentinAndreev/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/ValentinAndreev/flashcards/deployments","created_at":"2016-11-09T07:30:25Z","updated_at":"2016-11-09T10:15:15Z","pushed_at":"2016-12-08T10:20:53Z","git_url":"git://github.com/ValentinAndreev/flashcards.git","ssh_url":"git@github.com:ValentinAndreev/flashcards.git","clone_url":"https://github.com/ValentinAndreev/flashcards.git","svn_url":"https://github.com/ValentinAndreev/flashcards","homepage":null,"size":322,"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/ValentinAndreev/flashcards/pulls/88"},"html":{"href":"https://github.com/ValentinAndreev/flashcards/pull/88"},"issue":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/88"},"comments":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/statuses/7ad143a3e58772206186451ceedfc773415f622c"}}}}
{"actor":{"display_login":"houndci-bot"}}