{"action":"created","comment":{"url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/comments/42646375","id":42646375,"diff_hunk":"@@ -14,12 +14,23 @@\n     expect(card.check_translation(\"ifdnq02\")).to be false\n   end\n \n-  it \"#review_date\" do\n-    expect(card.review_date).to eq(Date.today + 3.days)\n+  it \"card after true translation\" do\n+    Timecop.freeze(Time.now)\n+    card.check_translation(\"deer\")\n+    expect(card.review_level).to eq(1)\n+    expect(card.error_counter).to eq(0)\n+    expect(card.review_date).to eq(Time.now + 12.hours)","path":"spec/models/card_spec.rb","position":11,"original_position":11,"commit_id":"5bf2db9da66b70ba805176aa03572a81d5c708c6","original_commit_id":"5bf2db9da66b70ba805176aa03572a81d5c708c6","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":"Do not use `Time.now` without zone. Use one of `Time.zone.now`, `Time.now.current`, `Time.now.in_time_zone`, `Time.now.utc`, `Time.now.getlocal`, `Time.now.iso8601`, `Time.now.jisx0301`, `Time.now.rfc3339`, `Time.now.to_i`, `Time.now.to_f` instead.","created_at":"2015-10-21T16:20:27Z","updated_at":"2015-10-21T16:20:27Z","html_url":"https://github.com/MistaTwista/flashcards/pull/15#discussion_r42646375","pull_request_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/comments/42646375"},"html":{"href":"https://github.com/MistaTwista/flashcards/pull/15#discussion_r42646375"},"pull_request":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/15","id":48354322,"html_url":"https://github.com/MistaTwista/flashcards/pull/15","diff_url":"https://github.com/MistaTwista/flashcards/pull/15.diff","patch_url":"https://github.com/MistaTwista/flashcards/pull/15.patch","issue_url":"https://api.github.com/repos/MistaTwista/flashcards/issues/15","number":15,"state":"open","locked":false,"title":"13 business logic","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-10-21T16:20:19Z","updated_at":"2015-10-21T16:20:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02d180cf4c13a2dd2acc5efe2db51baa8983c77f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/15/commits","review_comments_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/15/comments","review_comment_url":"https://api.github.com/repos/MistaTwista/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MistaTwista/flashcards/issues/15/comments","statuses_url":"https://api.github.com/repos/MistaTwista/flashcards/statuses/5bf2db9da66b70ba805176aa03572a81d5c708c6","head":{"label":"MistaTwista:13-business-logic","ref":"13-business-logic","sha":"5bf2db9da66b70ba805176aa03572a81d5c708c6","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-10-21T16:20:19Z","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":748,"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":"7a706b1abc38e109b9c14c54563dd17aba9e8c13","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-10-21T16:20:19Z","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":748,"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/15"},"html":{"href":"https://github.com/MistaTwista/flashcards/pull/15"},"issue":{"href":"https://api.github.com/repos/MistaTwista/flashcards/issues/15"},"comments":{"href":"https://api.github.com/repos/MistaTwista/flashcards/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MistaTwista/flashcards/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/MistaTwista/flashcards/statuses/5bf2db9da66b70ba805176aa03572a81d5c708c6"}}}}