{"action":"created","comment":{"url":"https://api.github.com/repos/zilON/learn/pulls/comments/27475085","id":27475085,"diff_hunk":"@@ -0,0 +1,32 @@\n+require 'rails_helper'\n+require 'spec_helper'\n+\n+RSpec.describe Card, type: :model do\n+  it 'check translation' do\n+    card = Card.new(original_text: \"дом\")\n+    expect(card.check_translation(\"вигвам\")).to be false\n+  end\n+\n+  it 'should check correct translation with strange case' do\n+    card = Card.new(original_text: \"Дом На ХоЛме\", translated_text: \"hause\")","path":"spec/models/card_spec.rb","position":11,"original_position":11,"commit_id":"9f03e3ce87322e48d91fbbf95ddf0f194ba233cf","original_commit_id":"9f03e3ce87322e48d91fbbf95ddf0f194ba233cf","user":{"login":"Fodoj","id":78866,"avatar_url":"https://avatars.githubusercontent.com/u/78866?v=3","gravatar_id":"","url":"https://api.github.com/users/Fodoj","html_url":"https://github.com/Fodoj","followers_url":"https://api.github.com/users/Fodoj/followers","following_url":"https://api.github.com/users/Fodoj/following{/other_user}","gists_url":"https://api.github.com/users/Fodoj/gists{/gist_id}","starred_url":"https://api.github.com/users/Fodoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fodoj/subscriptions","organizations_url":"https://api.github.com/users/Fodoj/orgs","repos_url":"https://api.github.com/users/Fodoj/repos","events_url":"https://api.github.com/users/Fodoj/events{/privacy}","received_events_url":"https://api.github.com/users/Fodoj/received_events","type":"User","site_admin":false},"body":"create","created_at":"2015-03-31T12:46:44Z","updated_at":"2015-03-31T12:46:44Z","html_url":"https://github.com/zilON/learn/pull/8#discussion_r27475085","pull_request_url":"https://api.github.com/repos/zilON/learn/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/zilON/learn/pulls/comments/27475085"},"html":{"href":"https://github.com/zilON/learn/pull/8#discussion_r27475085"},"pull_request":{"href":"https://api.github.com/repos/zilON/learn/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/zilON/learn/pulls/8","id":32313727,"html_url":"https://github.com/zilON/learn/pull/8","diff_url":"https://github.com/zilON/learn/pull/8.diff","patch_url":"https://github.com/zilON/learn/pull/8.patch","issue_url":"https://api.github.com/repos/zilON/learn/issues/8","number":8,"state":"open","locked":false,"title":"tests","user":{"login":"zilON","id":882487,"avatar_url":"https://avatars.githubusercontent.com/u/882487?v=3","gravatar_id":"","url":"https://api.github.com/users/zilON","html_url":"https://github.com/zilON","followers_url":"https://api.github.com/users/zilON/followers","following_url":"https://api.github.com/users/zilON/following{/other_user}","gists_url":"https://api.github.com/users/zilON/gists{/gist_id}","starred_url":"https://api.github.com/users/zilON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilON/subscriptions","organizations_url":"https://api.github.com/users/zilON/orgs","repos_url":"https://api.github.com/users/zilON/repos","events_url":"https://api.github.com/users/zilON/events{/privacy}","received_events_url":"https://api.github.com/users/zilON/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-31T11:37:51Z","updated_at":"2015-03-31T12:46:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50c9653908c48582e8795674812d82ad3e573e8f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zilON/learn/pulls/8/commits","review_comments_url":"https://api.github.com/repos/zilON/learn/pulls/8/comments","review_comment_url":"https://api.github.com/repos/zilON/learn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zilON/learn/issues/8/comments","statuses_url":"https://api.github.com/repos/zilON/learn/statuses/9f03e3ce87322e48d91fbbf95ddf0f194ba233cf","head":{"label":"zilON:rspec-tests","ref":"rspec-tests","sha":"9f03e3ce87322e48d91fbbf95ddf0f194ba233cf","user":{"login":"zilON","id":882487,"avatar_url":"https://avatars.githubusercontent.com/u/882487?v=3","gravatar_id":"","url":"https://api.github.com/users/zilON","html_url":"https://github.com/zilON","followers_url":"https://api.github.com/users/zilON/followers","following_url":"https://api.github.com/users/zilON/following{/other_user}","gists_url":"https://api.github.com/users/zilON/gists{/gist_id}","starred_url":"https://api.github.com/users/zilON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilON/subscriptions","organizations_url":"https://api.github.com/users/zilON/orgs","repos_url":"https://api.github.com/users/zilON/repos","events_url":"https://api.github.com/users/zilON/events{/privacy}","received_events_url":"https://api.github.com/users/zilON/received_events","type":"User","site_admin":false},"repo":{"id":32719338,"name":"learn","full_name":"zilON/learn","owner":{"login":"zilON","id":882487,"avatar_url":"https://avatars.githubusercontent.com/u/882487?v=3","gravatar_id":"","url":"https://api.github.com/users/zilON","html_url":"https://github.com/zilON","followers_url":"https://api.github.com/users/zilON/followers","following_url":"https://api.github.com/users/zilON/following{/other_user}","gists_url":"https://api.github.com/users/zilON/gists{/gist_id}","starred_url":"https://api.github.com/users/zilON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilON/subscriptions","organizations_url":"https://api.github.com/users/zilON/orgs","repos_url":"https://api.github.com/users/zilON/repos","events_url":"https://api.github.com/users/zilON/events{/privacy}","received_events_url":"https://api.github.com/users/zilON/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zilON/learn","description":"learn","fork":false,"url":"https://api.github.com/repos/zilON/learn","forks_url":"https://api.github.com/repos/zilON/learn/forks","keys_url":"https://api.github.com/repos/zilON/learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zilON/learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zilON/learn/teams","hooks_url":"https://api.github.com/repos/zilON/learn/hooks","issue_events_url":"https://api.github.com/repos/zilON/learn/issues/events{/number}","events_url":"https://api.github.com/repos/zilON/learn/events","assignees_url":"https://api.github.com/repos/zilON/learn/assignees{/user}","branches_url":"https://api.github.com/repos/zilON/learn/branches{/branch}","tags_url":"https://api.github.com/repos/zilON/learn/tags","blobs_url":"https://api.github.com/repos/zilON/learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zilON/learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zilON/learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/zilON/learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zilON/learn/statuses/{sha}","languages_url":"https://api.github.com/repos/zilON/learn/languages","stargazers_url":"https://api.github.com/repos/zilON/learn/stargazers","contributors_url":"https://api.github.com/repos/zilON/learn/contributors","subscribers_url":"https://api.github.com/repos/zilON/learn/subscribers","subscription_url":"https://api.github.com/repos/zilON/learn/subscription","commits_url":"https://api.github.com/repos/zilON/learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/zilON/learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/zilON/learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/zilON/learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/zilON/learn/contents/{+path}","compare_url":"https://api.github.com/repos/zilON/learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zilON/learn/merges","archive_url":"https://api.github.com/repos/zilON/learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zilON/learn/downloads","issues_url":"https://api.github.com/repos/zilON/learn/issues{/number}","pulls_url":"https://api.github.com/repos/zilON/learn/pulls{/number}","milestones_url":"https://api.github.com/repos/zilON/learn/milestones{/number}","notifications_url":"https://api.github.com/repos/zilON/learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zilON/learn/labels{/name}","releases_url":"https://api.github.com/repos/zilON/learn/releases{/id}","created_at":"2015-03-23T08:22:20Z","updated_at":"2015-03-29T20:38:08Z","pushed_at":"2015-03-31T11:37:51Z","git_url":"git://github.com/zilON/learn.git","ssh_url":"git@github.com:zilON/learn.git","clone_url":"https://github.com/zilON/learn.git","svn_url":"https://github.com/zilON/learn","homepage":null,"size":514,"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":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"zilON:master","ref":"master","sha":"26780f7e319a6c76e9d5b4ebbb77ceccf23ae321","user":{"login":"zilON","id":882487,"avatar_url":"https://avatars.githubusercontent.com/u/882487?v=3","gravatar_id":"","url":"https://api.github.com/users/zilON","html_url":"https://github.com/zilON","followers_url":"https://api.github.com/users/zilON/followers","following_url":"https://api.github.com/users/zilON/following{/other_user}","gists_url":"https://api.github.com/users/zilON/gists{/gist_id}","starred_url":"https://api.github.com/users/zilON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilON/subscriptions","organizations_url":"https://api.github.com/users/zilON/orgs","repos_url":"https://api.github.com/users/zilON/repos","events_url":"https://api.github.com/users/zilON/events{/privacy}","received_events_url":"https://api.github.com/users/zilON/received_events","type":"User","site_admin":false},"repo":{"id":32719338,"name":"learn","full_name":"zilON/learn","owner":{"login":"zilON","id":882487,"avatar_url":"https://avatars.githubusercontent.com/u/882487?v=3","gravatar_id":"","url":"https://api.github.com/users/zilON","html_url":"https://github.com/zilON","followers_url":"https://api.github.com/users/zilON/followers","following_url":"https://api.github.com/users/zilON/following{/other_user}","gists_url":"https://api.github.com/users/zilON/gists{/gist_id}","starred_url":"https://api.github.com/users/zilON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilON/subscriptions","organizations_url":"https://api.github.com/users/zilON/orgs","repos_url":"https://api.github.com/users/zilON/repos","events_url":"https://api.github.com/users/zilON/events{/privacy}","received_events_url":"https://api.github.com/users/zilON/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zilON/learn","description":"learn","fork":false,"url":"https://api.github.com/repos/zilON/learn","forks_url":"https://api.github.com/repos/zilON/learn/forks","keys_url":"https://api.github.com/repos/zilON/learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zilON/learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zilON/learn/teams","hooks_url":"https://api.github.com/repos/zilON/learn/hooks","issue_events_url":"https://api.github.com/repos/zilON/learn/issues/events{/number}","events_url":"https://api.github.com/repos/zilON/learn/events","assignees_url":"https://api.github.com/repos/zilON/learn/assignees{/user}","branches_url":"https://api.github.com/repos/zilON/learn/branches{/branch}","tags_url":"https://api.github.com/repos/zilON/learn/tags","blobs_url":"https://api.github.com/repos/zilON/learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zilON/learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zilON/learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/zilON/learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zilON/learn/statuses/{sha}","languages_url":"https://api.github.com/repos/zilON/learn/languages","stargazers_url":"https://api.github.com/repos/zilON/learn/stargazers","contributors_url":"https://api.github.com/repos/zilON/learn/contributors","subscribers_url":"https://api.github.com/repos/zilON/learn/subscribers","subscription_url":"https://api.github.com/repos/zilON/learn/subscription","commits_url":"https://api.github.com/repos/zilON/learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/zilON/learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/zilON/learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/zilON/learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/zilON/learn/contents/{+path}","compare_url":"https://api.github.com/repos/zilON/learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zilON/learn/merges","archive_url":"https://api.github.com/repos/zilON/learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zilON/learn/downloads","issues_url":"https://api.github.com/repos/zilON/learn/issues{/number}","pulls_url":"https://api.github.com/repos/zilON/learn/pulls{/number}","milestones_url":"https://api.github.com/repos/zilON/learn/milestones{/number}","notifications_url":"https://api.github.com/repos/zilON/learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zilON/learn/labels{/name}","releases_url":"https://api.github.com/repos/zilON/learn/releases{/id}","created_at":"2015-03-23T08:22:20Z","updated_at":"2015-03-29T20:38:08Z","pushed_at":"2015-03-31T11:37:51Z","git_url":"git://github.com/zilON/learn.git","ssh_url":"git@github.com:zilON/learn.git","clone_url":"https://github.com/zilON/learn.git","svn_url":"https://github.com/zilON/learn","homepage":null,"size":514,"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":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zilON/learn/pulls/8"},"html":{"href":"https://github.com/zilON/learn/pull/8"},"issue":{"href":"https://api.github.com/repos/zilON/learn/issues/8"},"comments":{"href":"https://api.github.com/repos/zilON/learn/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/zilON/learn/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/zilON/learn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zilON/learn/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/zilON/learn/statuses/9f03e3ce87322e48d91fbbf95ddf0f194ba233cf"}}}}