{"action":"created","comment":{"url":"https://api.github.com/repos/APA092/flashcards/pulls/comments/94031968","pull_request_review_id":14561910,"id":94031968,"diff_hunk":"@@ -3,28 +3,38 @@\n   before do\n     user = create(:user, email: 'user@rails.com', password: 'qwerty')\n     deck = create(:deck, name: 'test', user_id: user.id)\n-    @test_card = FactoryGirl.create(:card, original_text: 'test', translated_text: 'test_translation', user_id: user.id, deck_id: deck.id)\n+    @test_card = FactoryGirl.create(:card, original_text: 'testingword', translated_text: 'test_translation', user_id: user.id, deck_id: deck.id)\n   end\n   it 'if words equal notice shall return success message' do\n-    interactor = CheckTranslation.call(users: 'test', card_id: @test_card.id)\n-    expect(interactor.notice).to eq('That is correct!')\n+    interactor = CheckTranslation.call(users: 'testingword', card_id: @test_card.id, timer: 9)\n+    expect(interactor.notice).to eq('That is 100% correct')\n   end\n-  it 'if words equal card shall be updated with new date' do\n-    CheckTranslation.call(users: 'test', card_id: @test_card.id)\n+  it 'if word is correct 3 times factor and date shall be as per formula for score 5' do\n+   3.times do\n+      CheckTranslation.call(users: 'testingword', card_id: @test_card.id, timer: 9)\n+    end","path":"spec/interactors/interactor_check_spec.rb","position":18,"original_position":18,"commit_id":"b0e151f9559f09305b9ab83f80f3a3b083fa80a5","original_commit_id":"b0e151f9559f09305b9ab83f80f3a3b083fa80a5","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":"end at 15, 4 is not aligned with 3.times do at 13, 3.","created_at":"2016-12-28T13:21:58Z","updated_at":"2016-12-28T13:21:58Z","html_url":"https://github.com/APA092/flashcards/pull/17#discussion_r94031968","pull_request_url":"https://api.github.com/repos/APA092/flashcards/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/APA092/flashcards/pulls/comments/94031968"},"html":{"href":"https://github.com/APA092/flashcards/pull/17#discussion_r94031968"},"pull_request":{"href":"https://api.github.com/repos/APA092/flashcards/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/APA092/flashcards/pulls/17","id":99453154,"html_url":"https://github.com/APA092/flashcards/pull/17","diff_url":"https://github.com/APA092/flashcards/pull/17.diff","patch_url":"https://github.com/APA092/flashcards/pull/17.patch","issue_url":"https://api.github.com/repos/APA092/flashcards/issues/17","number":17,"state":"open","locked":false,"title":"Task 17","user":{"login":"APA092","id":20084803,"avatar_url":"https://avatars.githubusercontent.com/u/20084803?v=3","gravatar_id":"","url":"https://api.github.com/users/APA092","html_url":"https://github.com/APA092","followers_url":"https://api.github.com/users/APA092/followers","following_url":"https://api.github.com/users/APA092/following{/other_user}","gists_url":"https://api.github.com/users/APA092/gists{/gist_id}","starred_url":"https://api.github.com/users/APA092/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APA092/subscriptions","organizations_url":"https://api.github.com/users/APA092/orgs","repos_url":"https://api.github.com/users/APA092/repos","events_url":"https://api.github.com/users/APA092/events{/privacy}","received_events_url":"https://api.github.com/users/APA092/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-27T15:02:47Z","updated_at":"2016-12-28T13:21:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8438f8c43ff8c8185d0819d95027c570d2796806","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/APA092/flashcards/pulls/17/commits","review_comments_url":"https://api.github.com/repos/APA092/flashcards/pulls/17/comments","review_comment_url":"https://api.github.com/repos/APA092/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/APA092/flashcards/issues/17/comments","statuses_url":"https://api.github.com/repos/APA092/flashcards/statuses/b0e151f9559f09305b9ab83f80f3a3b083fa80a5","head":{"label":"APA092:task-17","ref":"task-17","sha":"b0e151f9559f09305b9ab83f80f3a3b083fa80a5","user":{"login":"APA092","id":20084803,"avatar_url":"https://avatars.githubusercontent.com/u/20084803?v=3","gravatar_id":"","url":"https://api.github.com/users/APA092","html_url":"https://github.com/APA092","followers_url":"https://api.github.com/users/APA092/followers","following_url":"https://api.github.com/users/APA092/following{/other_user}","gists_url":"https://api.github.com/users/APA092/gists{/gist_id}","starred_url":"https://api.github.com/users/APA092/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APA092/subscriptions","organizations_url":"https://api.github.com/users/APA092/orgs","repos_url":"https://api.github.com/users/APA092/repos","events_url":"https://api.github.com/users/APA092/events{/privacy}","received_events_url":"https://api.github.com/users/APA092/received_events","type":"User","site_admin":false},"repo":{"id":72632022,"name":"flashcards","full_name":"APA092/flashcards","owner":{"login":"APA092","id":20084803,"avatar_url":"https://avatars.githubusercontent.com/u/20084803?v=3","gravatar_id":"","url":"https://api.github.com/users/APA092","html_url":"https://github.com/APA092","followers_url":"https://api.github.com/users/APA092/followers","following_url":"https://api.github.com/users/APA092/following{/other_user}","gists_url":"https://api.github.com/users/APA092/gists{/gist_id}","starred_url":"https://api.github.com/users/APA092/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APA092/subscriptions","organizations_url":"https://api.github.com/users/APA092/orgs","repos_url":"https://api.github.com/users/APA092/repos","events_url":"https://api.github.com/users/APA092/events{/privacy}","received_events_url":"https://api.github.com/users/APA092/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/APA092/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/APA092/flashcards","forks_url":"https://api.github.com/repos/APA092/flashcards/forks","keys_url":"https://api.github.com/repos/APA092/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/APA092/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/APA092/flashcards/teams","hooks_url":"https://api.github.com/repos/APA092/flashcards/hooks","issue_events_url":"https://api.github.com/repos/APA092/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/APA092/flashcards/events","assignees_url":"https://api.github.com/repos/APA092/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/APA092/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/APA092/flashcards/tags","blobs_url":"https://api.github.com/repos/APA092/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/APA092/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/APA092/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/APA092/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/APA092/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/APA092/flashcards/languages","stargazers_url":"https://api.github.com/repos/APA092/flashcards/stargazers","contributors_url":"https://api.github.com/repos/APA092/flashcards/contributors","subscribers_url":"https://api.github.com/repos/APA092/flashcards/subscribers","subscription_url":"https://api.github.com/repos/APA092/flashcards/subscription","commits_url":"https://api.github.com/repos/APA092/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/APA092/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/APA092/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/APA092/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/APA092/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/APA092/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/APA092/flashcards/merges","archive_url":"https://api.github.com/repos/APA092/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/APA092/flashcards/downloads","issues_url":"https://api.github.com/repos/APA092/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/APA092/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/APA092/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/APA092/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/APA092/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/APA092/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/APA092/flashcards/deployments","created_at":"2016-11-02T11:09:17Z","updated_at":"2016-11-02T11:20:54Z","pushed_at":"2016-12-28T13:21:48Z","git_url":"git://github.com/APA092/flashcards.git","ssh_url":"git@github.com:APA092/flashcards.git","clone_url":"https://github.com/APA092/flashcards.git","svn_url":"https://github.com/APA092/flashcards","homepage":null,"size":783,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"APA092:master","ref":"master","sha":"269715965567a6222dbf4b7260fe6e01e983d2b3","user":{"login":"APA092","id":20084803,"avatar_url":"https://avatars.githubusercontent.com/u/20084803?v=3","gravatar_id":"","url":"https://api.github.com/users/APA092","html_url":"https://github.com/APA092","followers_url":"https://api.github.com/users/APA092/followers","following_url":"https://api.github.com/users/APA092/following{/other_user}","gists_url":"https://api.github.com/users/APA092/gists{/gist_id}","starred_url":"https://api.github.com/users/APA092/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APA092/subscriptions","organizations_url":"https://api.github.com/users/APA092/orgs","repos_url":"https://api.github.com/users/APA092/repos","events_url":"https://api.github.com/users/APA092/events{/privacy}","received_events_url":"https://api.github.com/users/APA092/received_events","type":"User","site_admin":false},"repo":{"id":72632022,"name":"flashcards","full_name":"APA092/flashcards","owner":{"login":"APA092","id":20084803,"avatar_url":"https://avatars.githubusercontent.com/u/20084803?v=3","gravatar_id":"","url":"https://api.github.com/users/APA092","html_url":"https://github.com/APA092","followers_url":"https://api.github.com/users/APA092/followers","following_url":"https://api.github.com/users/APA092/following{/other_user}","gists_url":"https://api.github.com/users/APA092/gists{/gist_id}","starred_url":"https://api.github.com/users/APA092/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APA092/subscriptions","organizations_url":"https://api.github.com/users/APA092/orgs","repos_url":"https://api.github.com/users/APA092/repos","events_url":"https://api.github.com/users/APA092/events{/privacy}","received_events_url":"https://api.github.com/users/APA092/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/APA092/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/APA092/flashcards","forks_url":"https://api.github.com/repos/APA092/flashcards/forks","keys_url":"https://api.github.com/repos/APA092/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/APA092/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/APA092/flashcards/teams","hooks_url":"https://api.github.com/repos/APA092/flashcards/hooks","issue_events_url":"https://api.github.com/repos/APA092/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/APA092/flashcards/events","assignees_url":"https://api.github.com/repos/APA092/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/APA092/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/APA092/flashcards/tags","blobs_url":"https://api.github.com/repos/APA092/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/APA092/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/APA092/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/APA092/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/APA092/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/APA092/flashcards/languages","stargazers_url":"https://api.github.com/repos/APA092/flashcards/stargazers","contributors_url":"https://api.github.com/repos/APA092/flashcards/contributors","subscribers_url":"https://api.github.com/repos/APA092/flashcards/subscribers","subscription_url":"https://api.github.com/repos/APA092/flashcards/subscription","commits_url":"https://api.github.com/repos/APA092/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/APA092/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/APA092/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/APA092/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/APA092/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/APA092/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/APA092/flashcards/merges","archive_url":"https://api.github.com/repos/APA092/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/APA092/flashcards/downloads","issues_url":"https://api.github.com/repos/APA092/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/APA092/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/APA092/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/APA092/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/APA092/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/APA092/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/APA092/flashcards/deployments","created_at":"2016-11-02T11:09:17Z","updated_at":"2016-11-02T11:20:54Z","pushed_at":"2016-12-28T13:21:48Z","git_url":"git://github.com/APA092/flashcards.git","ssh_url":"git@github.com:APA092/flashcards.git","clone_url":"https://github.com/APA092/flashcards.git","svn_url":"https://github.com/APA092/flashcards","homepage":null,"size":783,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/APA092/flashcards/pulls/17"},"html":{"href":"https://github.com/APA092/flashcards/pull/17"},"issue":{"href":"https://api.github.com/repos/APA092/flashcards/issues/17"},"comments":{"href":"https://api.github.com/repos/APA092/flashcards/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/APA092/flashcards/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/APA092/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/APA092/flashcards/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/APA092/flashcards/statuses/b0e151f9559f09305b9ab83f80f3a3b083fa80a5"}}}}
{"actor":{"display_login":"houndci-bot"}}