{"action":"created","comment":{"url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/comments/89762728","pull_request_review_id":10297883,"id":89762728,"diff_hunk":"@@ -0,0 +1,29 @@\n+require \"rails_helper\"\n+require 'support/factory_girl'\n+require \"check_translation.rb\"\n+\n+RSpec.describe Card, type: :model do\n+  \n+context 'check translation' do\n+  let!(:card) { create(:card) } \n+  \n+  it \"right translation\" do\n+    result = translation({ text: 'not' }) \n+    expect(result).to be_a_success\n+  end\n+  \n+  it \"change date\" do\n+    result = translation({ text: 'not' })   \n+    expect(card.review_date).to eq(3.days.from_now.to_date)    \n+  end\n+  \n+  it \"wrong translation\" do\n+    result = translation({ text: 'yes' })","path":"spec/interactors/card_spec.rb","position":21,"original_position":21,"commit_id":"b22887c23596a01893235ea50407272981c9d078","original_commit_id":"b22887c23596a01893235ea50407272981c9d078","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":"Redundant curly braces around a hash parameter.","created_at":"2016-11-28T11:27:26Z","updated_at":"2016-11-28T11:27:26Z","html_url":"https://github.com/ValentinAndreev/flashcards/pull/54#discussion_r89762728","pull_request_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/54","_links":{"self":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/comments/89762728"},"html":{"href":"https://github.com/ValentinAndreev/flashcards/pull/54#discussion_r89762728"},"pull_request":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/54","id":95481176,"html_url":"https://github.com/ValentinAndreev/flashcards/pull/54","diff_url":"https://github.com/ValentinAndreev/flashcards/pull/54.diff","patch_url":"https://github.com/ValentinAndreev/flashcards/pull/54.patch","issue_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/54","number":54,"state":"open","locked":false,"title":"Sorcery","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-11-28T11:27:11Z","updated_at":"2016-11-28T11:27:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/54/commits","review_comments_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/54/comments","review_comment_url":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/54/comments","statuses_url":"https://api.github.com/repos/ValentinAndreev/flashcards/statuses/b22887c23596a01893235ea50407272981c9d078","head":{"label":"ValentinAndreev:sorcery","ref":"sorcery","sha":"b22887c23596a01893235ea50407272981c9d078","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-11-28T11:27:11Z","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":165,"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":"bf48d9ccf87edfc0fdebf08f3a330952a9217d32","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-11-28T11:27:11Z","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":165,"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/54"},"html":{"href":"https://github.com/ValentinAndreev/flashcards/pull/54"},"issue":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/54"},"comments":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/ValentinAndreev/flashcards/statuses/b22887c23596a01893235ea50407272981c9d078"}}}}
{"actor":{"display_login":"houndci-bot"}}