{"action":"created","comment":{"url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/comments/38262377","id":38262377,"diff_hunk":"@@ -0,0 +1,43 @@\n+require 'rails_helper'\n+\n+describe Card do\n+\n+  context \"valid false\" do\n+\n+    it \"card without translation\" do\n+      card = Card.new(original_text: \"   Лицо \")\n+      expect(card).to be_invalid\n+    end\n+\n+    it \"card without original text\" do\n+      card = Card.new(translated_text: \" faCe \")\n+      expect(card).to be_invalid\n+    end\n+\n+    it \"card with original = translation\" do\n+      card = Card.new(original_text: \"    Face \", translated_text: \" faCe \")\n+      expect(card).to be_invalid\n+    end\n+","path":"spec/models/card_spec.rb","position":21,"original_position":21,"commit_id":"a1c2cb81d413bedf1d9ad553f7b5977586f69b63","original_commit_id":"a1c2cb81d413bedf1d9ad553f7b5977586f69b63","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Extra empty line detected at block body end.","created_at":"2015-08-29T14:17:48Z","updated_at":"2015-08-29T14:17:48Z","html_url":"https://github.com/MistaTwista/flashcards/pull/7#discussion_r38262377","pull_request_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/comments/38262377"},"html":{"href":"https://github.com/MistaTwista/flashcards/pull/7#discussion_r38262377"},"pull_request":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/7","id":43695246,"html_url":"https://github.com/MistaTwista/flashcards/pull/7","diff_url":"https://github.com/MistaTwista/flashcards/pull/7.diff","patch_url":"https://github.com/MistaTwista/flashcards/pull/7.patch","issue_url":"https://api.github.com/repos/MistaTwista/flashcards/issues/7","number":7,"state":"open","locked":false,"title":"Model tests with RSpec and Factory girl","user":{"login":"MistaTwista","id":2895309,"avatar_url":"https://avatars.githubusercontent.com/u/2895309?v=3","gravatar_id":"","url":"https://api.github.com/users/MistaTwista","html_url":"https://github.com/MistaTwista","followers_url":"https://api.github.com/users/MistaTwista/followers","following_url":"https://api.github.com/users/MistaTwista/following{/other_user}","gists_url":"https://api.github.com/users/MistaTwista/gists{/gist_id}","starred_url":"https://api.github.com/users/MistaTwista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MistaTwista/subscriptions","organizations_url":"https://api.github.com/users/MistaTwista/orgs","repos_url":"https://api.github.com/users/MistaTwista/repos","events_url":"https://api.github.com/users/MistaTwista/events{/privacy}","received_events_url":"https://api.github.com/users/MistaTwista/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-29T14:17:43Z","updated_at":"2015-08-29T14:17:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d027a2148d62e93456c26f1b93a43624806948ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/7/commits","review_comments_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/7/comments","review_comment_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MistaTwista/flashcards/issues/7/comments","statuses_url":"https://api.github.com/repos/MistaTwista/flashcards/statuses/a1c2cb81d413bedf1d9ad553f7b5977586f69b63","head":{"label":"MistaTwista:t6-tests","ref":"t6-tests","sha":"a1c2cb81d413bedf1d9ad553f7b5977586f69b63","user":{"login":"MistaTwista","id":2895309,"avatar_url":"https://avatars.githubusercontent.com/u/2895309?v=3","gravatar_id":"","url":"https://api.github.com/users/MistaTwista","html_url":"https://github.com/MistaTwista","followers_url":"https://api.github.com/users/MistaTwista/followers","following_url":"https://api.github.com/users/MistaTwista/following{/other_user}","gists_url":"https://api.github.com/users/MistaTwista/gists{/gist_id}","starred_url":"https://api.github.com/users/MistaTwista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MistaTwista/subscriptions","organizations_url":"https://api.github.com/users/MistaTwista/orgs","repos_url":"https://api.github.com/users/MistaTwista/repos","events_url":"https://api.github.com/users/MistaTwista/events{/privacy}","received_events_url":"https://api.github.com/users/MistaTwista/received_events","type":"User","site_admin":false},"repo":{"id":40986514,"name":"flashcards","full_name":"MistaTwista/flashcards","owner":{"login":"MistaTwista","id":2895309,"avatar_url":"https://avatars.githubusercontent.com/u/2895309?v=3","gravatar_id":"","url":"https://api.github.com/users/MistaTwista","html_url":"https://github.com/MistaTwista","followers_url":"https://api.github.com/users/MistaTwista/followers","following_url":"https://api.github.com/users/MistaTwista/following{/other_user}","gists_url":"https://api.github.com/users/MistaTwista/gists{/gist_id}","starred_url":"https://api.github.com/users/MistaTwista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MistaTwista/subscriptions","organizations_url":"https://api.github.com/users/MistaTwista/orgs","repos_url":"https://api.github.com/users/MistaTwista/repos","events_url":"https://api.github.com/users/MistaTwista/events{/privacy}","received_events_url":"https://api.github.com/users/MistaTwista/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MistaTwista/flashcards","description":"Flash cards apppication","fork":false,"url":"https://api.github.com/repos/MistaTwista/flashcards","forks_url":"https://api.github.com/repos/MistaTwista/flashcards/forks","keys_url":"https://api.github.com/repos/MistaTwista/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MistaTwista/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MistaTwista/flashcards/teams","hooks_url":"https://api.github.com/repos/MistaTwista/flashcards/hooks","issue_events_url":"https://api.github.com/repos/MistaTwista/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/MistaTwista/flashcards/events","assignees_url":"https://api.github.com/repos/MistaTwista/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/MistaTwista/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/MistaTwista/flashcards/tags","blobs_url":"https://api.github.com/repos/MistaTwista/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MistaTwista/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MistaTwista/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/MistaTwista/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MistaTwista/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/MistaTwista/flashcards/languages","stargazers_url":"https://api.github.com/repos/MistaTwista/flashcards/stargazers","contributors_url":"https://api.github.com/repos/MistaTwista/flashcards/contributors","subscribers_url":"https://api.github.com/repos/MistaTwista/flashcards/subscribers","subscription_url":"https://api.github.com/repos/MistaTwista/flashcards/subscription","commits_url":"https://api.github.com/repos/MistaTwista/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/MistaTwista/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/MistaTwista/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/MistaTwista/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/MistaTwista/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/MistaTwista/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MistaTwista/flashcards/merges","archive_url":"https://api.github.com/repos/MistaTwista/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MistaTwista/flashcards/downloads","issues_url":"https://api.github.com/repos/MistaTwista/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/MistaTwista/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/MistaTwista/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MistaTwista/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/MistaTwista/flashcards/releases{/id}","created_at":"2015-08-18T17:22:12Z","updated_at":"2015-08-18T18:23:45Z","pushed_at":"2015-08-29T14:17:43Z","git_url":"git://github.com/MistaTwista/flashcards.git","ssh_url":"git@github.com:MistaTwista/flashcards.git","clone_url":"https://github.com/MistaTwista/flashcards.git","svn_url":"https://github.com/MistaTwista/flashcards","homepage":null,"size":492,"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":"MistaTwista:master","ref":"master","sha":"1b9d464cc6b4d7fa268de5a206f91331abf9da22","user":{"login":"MistaTwista","id":2895309,"avatar_url":"https://avatars.githubusercontent.com/u/2895309?v=3","gravatar_id":"","url":"https://api.github.com/users/MistaTwista","html_url":"https://github.com/MistaTwista","followers_url":"https://api.github.com/users/MistaTwista/followers","following_url":"https://api.github.com/users/MistaTwista/following{/other_user}","gists_url":"https://api.github.com/users/MistaTwista/gists{/gist_id}","starred_url":"https://api.github.com/users/MistaTwista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MistaTwista/subscriptions","organizations_url":"https://api.github.com/users/MistaTwista/orgs","repos_url":"https://api.github.com/users/MistaTwista/repos","events_url":"https://api.github.com/users/MistaTwista/events{/privacy}","received_events_url":"https://api.github.com/users/MistaTwista/received_events","type":"User","site_admin":false},"repo":{"id":40986514,"name":"flashcards","full_name":"MistaTwista/flashcards","owner":{"login":"MistaTwista","id":2895309,"avatar_url":"https://avatars.githubusercontent.com/u/2895309?v=3","gravatar_id":"","url":"https://api.github.com/users/MistaTwista","html_url":"https://github.com/MistaTwista","followers_url":"https://api.github.com/users/MistaTwista/followers","following_url":"https://api.github.com/users/MistaTwista/following{/other_user}","gists_url":"https://api.github.com/users/MistaTwista/gists{/gist_id}","starred_url":"https://api.github.com/users/MistaTwista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MistaTwista/subscriptions","organizations_url":"https://api.github.com/users/MistaTwista/orgs","repos_url":"https://api.github.com/users/MistaTwista/repos","events_url":"https://api.github.com/users/MistaTwista/events{/privacy}","received_events_url":"https://api.github.com/users/MistaTwista/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MistaTwista/flashcards","description":"Flash cards apppication","fork":false,"url":"https://api.github.com/repos/MistaTwista/flashcards","forks_url":"https://api.github.com/repos/MistaTwista/flashcards/forks","keys_url":"https://api.github.com/repos/MistaTwista/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MistaTwista/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MistaTwista/flashcards/teams","hooks_url":"https://api.github.com/repos/MistaTwista/flashcards/hooks","issue_events_url":"https://api.github.com/repos/MistaTwista/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/MistaTwista/flashcards/events","assignees_url":"https://api.github.com/repos/MistaTwista/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/MistaTwista/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/MistaTwista/flashcards/tags","blobs_url":"https://api.github.com/repos/MistaTwista/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MistaTwista/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MistaTwista/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/MistaTwista/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MistaTwista/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/MistaTwista/flashcards/languages","stargazers_url":"https://api.github.com/repos/MistaTwista/flashcards/stargazers","contributors_url":"https://api.github.com/repos/MistaTwista/flashcards/contributors","subscribers_url":"https://api.github.com/repos/MistaTwista/flashcards/subscribers","subscription_url":"https://api.github.com/repos/MistaTwista/flashcards/subscription","commits_url":"https://api.github.com/repos/MistaTwista/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/MistaTwista/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/MistaTwista/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/MistaTwista/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/MistaTwista/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/MistaTwista/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MistaTwista/flashcards/merges","archive_url":"https://api.github.com/repos/MistaTwista/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MistaTwista/flashcards/downloads","issues_url":"https://api.github.com/repos/MistaTwista/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/MistaTwista/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/MistaTwista/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MistaTwista/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/MistaTwista/flashcards/releases{/id}","created_at":"2015-08-18T17:22:12Z","updated_at":"2015-08-18T18:23:45Z","pushed_at":"2015-08-29T14:17:43Z","git_url":"git://github.com/MistaTwista/flashcards.git","ssh_url":"git@github.com:MistaTwista/flashcards.git","clone_url":"https://github.com/MistaTwista/flashcards.git","svn_url":"https://github.com/MistaTwista/flashcards","homepage":null,"size":492,"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/MistaTwista/flashcards/pulls/7"},"html":{"href":"https://github.com/MistaTwista/flashcards/pull/7"},"issue":{"href":"https://api.github.com/repos/MistaTwista/flashcards/issues/7"},"comments":{"href":"https://api.github.com/repos/MistaTwista/flashcards/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/MistaTwista/flashcards/statuses/a1c2cb81d413bedf1d9ad553f7b5977586f69b63"}}}}