{"action":"created","comment":{"url":"https://api.github.com/repos/magplus/good_times/pulls/comments/26437992","id":26437992,"diff_hunk":"@@ -0,0 +1,19 @@\n+defmodule GoodTimes.DateTest do\n+  use ExUnit.Case\n+  import GoodTimes\n+  import GoodTimes.Convert\n+  import GoodTimes.Date\n+\n+  test \"today\" do\n+    assert today == to_date(now)","path":"test/good_times/date_test.exs","position":8,"original_position":8,"commit_id":"20279401fca067ea448576da30130ae96394c246","original_commit_id":"20279401fca067ea448576da30130ae96394c246","user":{"login":"martinsvalin","id":203989,"avatar_url":"https://avatars.githubusercontent.com/u/203989?v=3","gravatar_id":"","url":"https://api.github.com/users/martinsvalin","html_url":"https://github.com/martinsvalin","followers_url":"https://api.github.com/users/martinsvalin/followers","following_url":"https://api.github.com/users/martinsvalin/following{/other_user}","gists_url":"https://api.github.com/users/martinsvalin/gists{/gist_id}","starred_url":"https://api.github.com/users/martinsvalin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinsvalin/subscriptions","organizations_url":"https://api.github.com/users/martinsvalin/orgs","repos_url":"https://api.github.com/users/martinsvalin/repos","events_url":"https://api.github.com/users/martinsvalin/events{/privacy}","received_events_url":"https://api.github.com/users/martinsvalin/received_events","type":"User","site_admin":false},"body":"It's fine. The important thing is that it would continue to assert the right thing even if you changed the implementation.","created_at":"2015-03-14T13:54:48Z","updated_at":"2015-03-14T13:54:48Z","html_url":"https://github.com/magplus/good_times/pull/33#discussion_r26437992","pull_request_url":"https://api.github.com/repos/magplus/good_times/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/magplus/good_times/pulls/comments/26437992"},"html":{"href":"https://github.com/magplus/good_times/pull/33#discussion_r26437992"},"pull_request":{"href":"https://api.github.com/repos/magplus/good_times/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/magplus/good_times/pulls/33","id":31183225,"html_url":"https://github.com/magplus/good_times/pull/33","diff_url":"https://github.com/magplus/good_times/pull/33.diff","patch_url":"https://github.com/magplus/good_times/pull/33.patch","issue_url":"https://api.github.com/repos/magplus/good_times/issues/33","number":33,"state":"open","locked":false,"title":"Add date functions.","user":{"login":"DevL","id":201944,"avatar_url":"https://avatars.githubusercontent.com/u/201944?v=3","gravatar_id":"","url":"https://api.github.com/users/DevL","html_url":"https://github.com/DevL","followers_url":"https://api.github.com/users/DevL/followers","following_url":"https://api.github.com/users/DevL/following{/other_user}","gists_url":"https://api.github.com/users/DevL/gists{/gist_id}","starred_url":"https://api.github.com/users/DevL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevL/subscriptions","organizations_url":"https://api.github.com/users/DevL/orgs","repos_url":"https://api.github.com/users/DevL/repos","events_url":"https://api.github.com/users/DevL/events{/privacy}","received_events_url":"https://api.github.com/users/DevL/received_events","type":"User","site_admin":false},"body":"Adds today/0, tomorrow/0, and yesterday/0.\r\n\r\nCloses #10","created_at":"2015-03-14T13:10:32Z","updated_at":"2015-03-14T13:54:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"299f9d9589a8b593244fdaef99137196edb7c3e3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/magplus/good_times/pulls/33/commits","review_comments_url":"https://api.github.com/repos/magplus/good_times/pulls/33/comments","review_comment_url":"https://api.github.com/repos/magplus/good_times/pulls/comments{/number}","comments_url":"https://api.github.com/repos/magplus/good_times/issues/33/comments","statuses_url":"https://api.github.com/repos/magplus/good_times/statuses/20279401fca067ea448576da30130ae96394c246","head":{"label":"magplus:meet_my_relatives","ref":"meet_my_relatives","sha":"20279401fca067ea448576da30130ae96394c246","user":{"login":"magplus","id":383227,"avatar_url":"https://avatars.githubusercontent.com/u/383227?v=3","gravatar_id":"","url":"https://api.github.com/users/magplus","html_url":"https://github.com/magplus","followers_url":"https://api.github.com/users/magplus/followers","following_url":"https://api.github.com/users/magplus/following{/other_user}","gists_url":"https://api.github.com/users/magplus/gists{/gist_id}","starred_url":"https://api.github.com/users/magplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magplus/subscriptions","organizations_url":"https://api.github.com/users/magplus/orgs","repos_url":"https://api.github.com/users/magplus/repos","events_url":"https://api.github.com/users/magplus/events{/privacy}","received_events_url":"https://api.github.com/users/magplus/received_events","type":"Organization","site_admin":false},"repo":{"id":31374471,"name":"good_times","full_name":"magplus/good_times","owner":{"login":"magplus","id":383227,"avatar_url":"https://avatars.githubusercontent.com/u/383227?v=3","gravatar_id":"","url":"https://api.github.com/users/magplus","html_url":"https://github.com/magplus","followers_url":"https://api.github.com/users/magplus/followers","following_url":"https://api.github.com/users/magplus/following{/other_user}","gists_url":"https://api.github.com/users/magplus/gists{/gist_id}","starred_url":"https://api.github.com/users/magplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magplus/subscriptions","organizations_url":"https://api.github.com/users/magplus/orgs","repos_url":"https://api.github.com/users/magplus/repos","events_url":"https://api.github.com/users/magplus/events{/privacy}","received_events_url":"https://api.github.com/users/magplus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/magplus/good_times","description":"Expressive and easy to use datetime functions in Elixir.","fork":false,"url":"https://api.github.com/repos/magplus/good_times","forks_url":"https://api.github.com/repos/magplus/good_times/forks","keys_url":"https://api.github.com/repos/magplus/good_times/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magplus/good_times/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magplus/good_times/teams","hooks_url":"https://api.github.com/repos/magplus/good_times/hooks","issue_events_url":"https://api.github.com/repos/magplus/good_times/issues/events{/number}","events_url":"https://api.github.com/repos/magplus/good_times/events","assignees_url":"https://api.github.com/repos/magplus/good_times/assignees{/user}","branches_url":"https://api.github.com/repos/magplus/good_times/branches{/branch}","tags_url":"https://api.github.com/repos/magplus/good_times/tags","blobs_url":"https://api.github.com/repos/magplus/good_times/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magplus/good_times/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magplus/good_times/git/refs{/sha}","trees_url":"https://api.github.com/repos/magplus/good_times/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magplus/good_times/statuses/{sha}","languages_url":"https://api.github.com/repos/magplus/good_times/languages","stargazers_url":"https://api.github.com/repos/magplus/good_times/stargazers","contributors_url":"https://api.github.com/repos/magplus/good_times/contributors","subscribers_url":"https://api.github.com/repos/magplus/good_times/subscribers","subscription_url":"https://api.github.com/repos/magplus/good_times/subscription","commits_url":"https://api.github.com/repos/magplus/good_times/commits{/sha}","git_commits_url":"https://api.github.com/repos/magplus/good_times/git/commits{/sha}","comments_url":"https://api.github.com/repos/magplus/good_times/comments{/number}","issue_comment_url":"https://api.github.com/repos/magplus/good_times/issues/comments{/number}","contents_url":"https://api.github.com/repos/magplus/good_times/contents/{+path}","compare_url":"https://api.github.com/repos/magplus/good_times/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magplus/good_times/merges","archive_url":"https://api.github.com/repos/magplus/good_times/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magplus/good_times/downloads","issues_url":"https://api.github.com/repos/magplus/good_times/issues{/number}","pulls_url":"https://api.github.com/repos/magplus/good_times/pulls{/number}","milestones_url":"https://api.github.com/repos/magplus/good_times/milestones{/number}","notifications_url":"https://api.github.com/repos/magplus/good_times/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magplus/good_times/labels{/name}","releases_url":"https://api.github.com/repos/magplus/good_times/releases{/id}","created_at":"2015-02-26T15:46:50Z","updated_at":"2015-03-14T13:41:44Z","pushed_at":"2015-03-14T13:54:37Z","git_url":"git://github.com/magplus/good_times.git","ssh_url":"git@github.com:magplus/good_times.git","clone_url":"https://github.com/magplus/good_times.git","svn_url":"https://github.com/magplus/good_times","homepage":"","size":726,"stargazers_count":6,"watchers_count":6,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":6,"default_branch":"master"}},"base":{"label":"magplus:master","ref":"master","sha":"8ddd094c01dfd04598b30743e9cc962dd5ce77af","user":{"login":"magplus","id":383227,"avatar_url":"https://avatars.githubusercontent.com/u/383227?v=3","gravatar_id":"","url":"https://api.github.com/users/magplus","html_url":"https://github.com/magplus","followers_url":"https://api.github.com/users/magplus/followers","following_url":"https://api.github.com/users/magplus/following{/other_user}","gists_url":"https://api.github.com/users/magplus/gists{/gist_id}","starred_url":"https://api.github.com/users/magplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magplus/subscriptions","organizations_url":"https://api.github.com/users/magplus/orgs","repos_url":"https://api.github.com/users/magplus/repos","events_url":"https://api.github.com/users/magplus/events{/privacy}","received_events_url":"https://api.github.com/users/magplus/received_events","type":"Organization","site_admin":false},"repo":{"id":31374471,"name":"good_times","full_name":"magplus/good_times","owner":{"login":"magplus","id":383227,"avatar_url":"https://avatars.githubusercontent.com/u/383227?v=3","gravatar_id":"","url":"https://api.github.com/users/magplus","html_url":"https://github.com/magplus","followers_url":"https://api.github.com/users/magplus/followers","following_url":"https://api.github.com/users/magplus/following{/other_user}","gists_url":"https://api.github.com/users/magplus/gists{/gist_id}","starred_url":"https://api.github.com/users/magplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magplus/subscriptions","organizations_url":"https://api.github.com/users/magplus/orgs","repos_url":"https://api.github.com/users/magplus/repos","events_url":"https://api.github.com/users/magplus/events{/privacy}","received_events_url":"https://api.github.com/users/magplus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/magplus/good_times","description":"Expressive and easy to use datetime functions in Elixir.","fork":false,"url":"https://api.github.com/repos/magplus/good_times","forks_url":"https://api.github.com/repos/magplus/good_times/forks","keys_url":"https://api.github.com/repos/magplus/good_times/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magplus/good_times/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magplus/good_times/teams","hooks_url":"https://api.github.com/repos/magplus/good_times/hooks","issue_events_url":"https://api.github.com/repos/magplus/good_times/issues/events{/number}","events_url":"https://api.github.com/repos/magplus/good_times/events","assignees_url":"https://api.github.com/repos/magplus/good_times/assignees{/user}","branches_url":"https://api.github.com/repos/magplus/good_times/branches{/branch}","tags_url":"https://api.github.com/repos/magplus/good_times/tags","blobs_url":"https://api.github.com/repos/magplus/good_times/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magplus/good_times/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magplus/good_times/git/refs{/sha}","trees_url":"https://api.github.com/repos/magplus/good_times/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magplus/good_times/statuses/{sha}","languages_url":"https://api.github.com/repos/magplus/good_times/languages","stargazers_url":"https://api.github.com/repos/magplus/good_times/stargazers","contributors_url":"https://api.github.com/repos/magplus/good_times/contributors","subscribers_url":"https://api.github.com/repos/magplus/good_times/subscribers","subscription_url":"https://api.github.com/repos/magplus/good_times/subscription","commits_url":"https://api.github.com/repos/magplus/good_times/commits{/sha}","git_commits_url":"https://api.github.com/repos/magplus/good_times/git/commits{/sha}","comments_url":"https://api.github.com/repos/magplus/good_times/comments{/number}","issue_comment_url":"https://api.github.com/repos/magplus/good_times/issues/comments{/number}","contents_url":"https://api.github.com/repos/magplus/good_times/contents/{+path}","compare_url":"https://api.github.com/repos/magplus/good_times/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magplus/good_times/merges","archive_url":"https://api.github.com/repos/magplus/good_times/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magplus/good_times/downloads","issues_url":"https://api.github.com/repos/magplus/good_times/issues{/number}","pulls_url":"https://api.github.com/repos/magplus/good_times/pulls{/number}","milestones_url":"https://api.github.com/repos/magplus/good_times/milestones{/number}","notifications_url":"https://api.github.com/repos/magplus/good_times/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magplus/good_times/labels{/name}","releases_url":"https://api.github.com/repos/magplus/good_times/releases{/id}","created_at":"2015-02-26T15:46:50Z","updated_at":"2015-03-14T13:41:44Z","pushed_at":"2015-03-14T13:54:37Z","git_url":"git://github.com/magplus/good_times.git","ssh_url":"git@github.com:magplus/good_times.git","clone_url":"https://github.com/magplus/good_times.git","svn_url":"https://github.com/magplus/good_times","homepage":"","size":726,"stargazers_count":6,"watchers_count":6,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/magplus/good_times/pulls/33"},"html":{"href":"https://github.com/magplus/good_times/pull/33"},"issue":{"href":"https://api.github.com/repos/magplus/good_times/issues/33"},"comments":{"href":"https://api.github.com/repos/magplus/good_times/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/magplus/good_times/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/magplus/good_times/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/magplus/good_times/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/magplus/good_times/statuses/20279401fca067ea448576da30130ae96394c246"}}}}