{"action":"created","comment":{"url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/comments/85884951","pull_request_review_id":6572128,"id":85884951,"diff_hunk":"@@ -1,16 +1,67 @@\n require 'rails_helper'\n \n describe CheckCard do\n+\n   let(:user) { FactoryGirl.create(:user) }\n   let(:deck) { FactoryGirl.create(:deck) }\n   before do\n     @card = FactoryGirl.create(:card, user: user, deck: deck)\n-    @params = { card_params: { card_id: 1, original_text: 'tet' } }\n   end\n \n-  it \".call should create card and check equal original text\" do\n+  it \"call should create card and check equal original text\" do\n     interactor = CheckCard.call(card_id: @card.id, original_text: @card.original_text)\n     expect(interactor).to be_a_success\n     expect(interactor.original_text).to eq(@card.original_text)\n   end\n+\n+  it \"check how work count_checks \" do\n+    count = 0\n+    while count != 5\n+      card_checks = Card.find(@card.id).count_checks\n+      interactor = CheckCard.call(card_id: @card.id, original_text: @card.original_text)\n+      card_checks_after = Card.find(@card.id).count_checks\n+        if card_checks == 5","path":"spec/interactors/check_card_spec.rb","position":25,"original_position":25,"commit_id":"07f5fbe72ad65a6fbb35227d900eceb87340db17","original_commit_id":"07f5fbe72ad65a6fbb35227d900eceb87340db17","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":"Inconsistent indentation detected.","created_at":"2016-11-01T07:28:11Z","updated_at":"2016-11-01T07:28:11Z","html_url":"https://github.com/NikiTikiTavi93/flashcards/pull/14#discussion_r85884951","pull_request_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/comments/85884951"},"html":{"href":"https://github.com/NikiTikiTavi93/flashcards/pull/14#discussion_r85884951"},"pull_request":{"href":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/14","id":91535395,"html_url":"https://github.com/NikiTikiTavi93/flashcards/pull/14","diff_url":"https://github.com/NikiTikiTavi93/flashcards/pull/14.diff","patch_url":"https://github.com/NikiTikiTavi93/flashcards/pull/14.patch","issue_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues/14","number":14,"state":"open","locked":false,"title":"Add Review_date logic","user":{"login":"NikiTikiTavi93","id":18601102,"avatar_url":"https://avatars.githubusercontent.com/u/18601102?v=3","gravatar_id":"","url":"https://api.github.com/users/NikiTikiTavi93","html_url":"https://github.com/NikiTikiTavi93","followers_url":"https://api.github.com/users/NikiTikiTavi93/followers","following_url":"https://api.github.com/users/NikiTikiTavi93/following{/other_user}","gists_url":"https://api.github.com/users/NikiTikiTavi93/gists{/gist_id}","starred_url":"https://api.github.com/users/NikiTikiTavi93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikiTikiTavi93/subscriptions","organizations_url":"https://api.github.com/users/NikiTikiTavi93/orgs","repos_url":"https://api.github.com/users/NikiTikiTavi93/repos","events_url":"https://api.github.com/users/NikiTikiTavi93/events{/privacy}","received_events_url":"https://api.github.com/users/NikiTikiTavi93/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-30T20:40:00Z","updated_at":"2016-11-01T07:28:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf11b5cbb033cbbcda1cf78c446e0aa9927c183d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/14/commits","review_comments_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/14/comments","review_comment_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues/14/comments","statuses_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/statuses/07f5fbe72ad65a6fbb35227d900eceb87340db17","head":{"label":"NikiTikiTavi93:thirteenth-task","ref":"thirteenth-task","sha":"07f5fbe72ad65a6fbb35227d900eceb87340db17","user":{"login":"NikiTikiTavi93","id":18601102,"avatar_url":"https://avatars.githubusercontent.com/u/18601102?v=3","gravatar_id":"","url":"https://api.github.com/users/NikiTikiTavi93","html_url":"https://github.com/NikiTikiTavi93","followers_url":"https://api.github.com/users/NikiTikiTavi93/followers","following_url":"https://api.github.com/users/NikiTikiTavi93/following{/other_user}","gists_url":"https://api.github.com/users/NikiTikiTavi93/gists{/gist_id}","starred_url":"https://api.github.com/users/NikiTikiTavi93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikiTikiTavi93/subscriptions","organizations_url":"https://api.github.com/users/NikiTikiTavi93/orgs","repos_url":"https://api.github.com/users/NikiTikiTavi93/repos","events_url":"https://api.github.com/users/NikiTikiTavi93/events{/privacy}","received_events_url":"https://api.github.com/users/NikiTikiTavi93/received_events","type":"User","site_admin":false},"repo":{"id":68739411,"name":"flashcards","full_name":"NikiTikiTavi93/flashcards","owner":{"login":"NikiTikiTavi93","id":18601102,"avatar_url":"https://avatars.githubusercontent.com/u/18601102?v=3","gravatar_id":"","url":"https://api.github.com/users/NikiTikiTavi93","html_url":"https://github.com/NikiTikiTavi93","followers_url":"https://api.github.com/users/NikiTikiTavi93/followers","following_url":"https://api.github.com/users/NikiTikiTavi93/following{/other_user}","gists_url":"https://api.github.com/users/NikiTikiTavi93/gists{/gist_id}","starred_url":"https://api.github.com/users/NikiTikiTavi93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikiTikiTavi93/subscriptions","organizations_url":"https://api.github.com/users/NikiTikiTavi93/orgs","repos_url":"https://api.github.com/users/NikiTikiTavi93/repos","events_url":"https://api.github.com/users/NikiTikiTavi93/events{/privacy}","received_events_url":"https://api.github.com/users/NikiTikiTavi93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NikiTikiTavi93/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/NikiTikiTavi93/flashcards","forks_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/forks","keys_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/teams","hooks_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/hooks","issue_events_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/events","assignees_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/tags","blobs_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/languages","stargazers_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/stargazers","contributors_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/contributors","subscribers_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/subscribers","subscription_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/subscription","commits_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/merges","archive_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/downloads","issues_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/deployments","created_at":"2016-09-20T18:03:56Z","updated_at":"2016-09-20T18:17:36Z","pushed_at":"2016-11-01T07:27:58Z","git_url":"git://github.com/NikiTikiTavi93/flashcards.git","ssh_url":"git@github.com:NikiTikiTavi93/flashcards.git","clone_url":"https://github.com/NikiTikiTavi93/flashcards.git","svn_url":"https://github.com/NikiTikiTavi93/flashcards","homepage":null,"size":1864,"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":"NikiTikiTavi93:master","ref":"master","sha":"cec2b15438cfdf76fffc5adb9b5550aec14dab57","user":{"login":"NikiTikiTavi93","id":18601102,"avatar_url":"https://avatars.githubusercontent.com/u/18601102?v=3","gravatar_id":"","url":"https://api.github.com/users/NikiTikiTavi93","html_url":"https://github.com/NikiTikiTavi93","followers_url":"https://api.github.com/users/NikiTikiTavi93/followers","following_url":"https://api.github.com/users/NikiTikiTavi93/following{/other_user}","gists_url":"https://api.github.com/users/NikiTikiTavi93/gists{/gist_id}","starred_url":"https://api.github.com/users/NikiTikiTavi93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikiTikiTavi93/subscriptions","organizations_url":"https://api.github.com/users/NikiTikiTavi93/orgs","repos_url":"https://api.github.com/users/NikiTikiTavi93/repos","events_url":"https://api.github.com/users/NikiTikiTavi93/events{/privacy}","received_events_url":"https://api.github.com/users/NikiTikiTavi93/received_events","type":"User","site_admin":false},"repo":{"id":68739411,"name":"flashcards","full_name":"NikiTikiTavi93/flashcards","owner":{"login":"NikiTikiTavi93","id":18601102,"avatar_url":"https://avatars.githubusercontent.com/u/18601102?v=3","gravatar_id":"","url":"https://api.github.com/users/NikiTikiTavi93","html_url":"https://github.com/NikiTikiTavi93","followers_url":"https://api.github.com/users/NikiTikiTavi93/followers","following_url":"https://api.github.com/users/NikiTikiTavi93/following{/other_user}","gists_url":"https://api.github.com/users/NikiTikiTavi93/gists{/gist_id}","starred_url":"https://api.github.com/users/NikiTikiTavi93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikiTikiTavi93/subscriptions","organizations_url":"https://api.github.com/users/NikiTikiTavi93/orgs","repos_url":"https://api.github.com/users/NikiTikiTavi93/repos","events_url":"https://api.github.com/users/NikiTikiTavi93/events{/privacy}","received_events_url":"https://api.github.com/users/NikiTikiTavi93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NikiTikiTavi93/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/NikiTikiTavi93/flashcards","forks_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/forks","keys_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/teams","hooks_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/hooks","issue_events_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/events","assignees_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/tags","blobs_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/languages","stargazers_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/stargazers","contributors_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/contributors","subscribers_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/subscribers","subscription_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/subscription","commits_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/merges","archive_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/downloads","issues_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/NikiTikiTavi93/flashcards/deployments","created_at":"2016-09-20T18:03:56Z","updated_at":"2016-09-20T18:17:36Z","pushed_at":"2016-11-01T07:27:58Z","git_url":"git://github.com/NikiTikiTavi93/flashcards.git","ssh_url":"git@github.com:NikiTikiTavi93/flashcards.git","clone_url":"https://github.com/NikiTikiTavi93/flashcards.git","svn_url":"https://github.com/NikiTikiTavi93/flashcards","homepage":null,"size":1864,"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/NikiTikiTavi93/flashcards/pulls/14"},"html":{"href":"https://github.com/NikiTikiTavi93/flashcards/pull/14"},"issue":{"href":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues/14"},"comments":{"href":"https://api.github.com/repos/NikiTikiTavi93/flashcards/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NikiTikiTavi93/flashcards/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/NikiTikiTavi93/flashcards/statuses/07f5fbe72ad65a6fbb35227d900eceb87340db17"}}}}
{"actor":{"display_login":"houndci-bot"}}