{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/anvil/pulls/comments/39422512","id":39422512,"diff_hunk":"@@ -1,7 +1,131 @@\n defmodule AnvilTest do\n   use ExUnit.Case\n \n-  test \"the truth\" do\n-    assert 1 + 1 == 2\n+  defmodule TestRepo do\n+    def insert!(record) do\n+      send self, {:created, record}\n+      record\n+    end\n+  end\n+\n+\n+  defmodule MyApp.Anvil do\n+    use Anvil\n+\n+    def fixture(:without_opts) do","path":"test/anvil_test.exs","position":17,"original_position":17,"commit_id":"974b404876ac38de470973dd686b6aa568c5ded1","original_commit_id":"974b404876ac38de470973dd686b6aa568c5ded1","user":{"login":"jsteiner","id":466493,"avatar_url":"https://avatars.githubusercontent.com/u/466493?v=3","gravatar_id":"","url":"https://api.github.com/users/jsteiner","html_url":"https://github.com/jsteiner","followers_url":"https://api.github.com/users/jsteiner/followers","following_url":"https://api.github.com/users/jsteiner/following{/other_user}","gists_url":"https://api.github.com/users/jsteiner/gists{/gist_id}","starred_url":"https://api.github.com/users/jsteiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsteiner/subscriptions","organizations_url":"https://api.github.com/users/jsteiner/orgs","repos_url":"https://api.github.com/users/jsteiner/repos","events_url":"https://api.github.com/users/jsteiner/events{/privacy}","received_events_url":"https://api.github.com/users/jsteiner/received_events","type":"User","site_admin":false},"body":"Aren't these more `factories` than `fixtures`?","created_at":"2015-09-14T17:38:52Z","updated_at":"2015-09-14T17:38:52Z","html_url":"https://github.com/thoughtbot/anvil/pull/1#discussion_r39422512","pull_request_url":"https://api.github.com/repos/thoughtbot/anvil/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/anvil/pulls/comments/39422512"},"html":{"href":"https://github.com/thoughtbot/anvil/pull/1#discussion_r39422512"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/anvil/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/anvil/pulls/1","id":44957084,"html_url":"https://github.com/thoughtbot/anvil/pull/1","diff_url":"https://github.com/thoughtbot/anvil/pull/1.diff","patch_url":"https://github.com/thoughtbot/anvil/pull/1.patch","issue_url":"https://api.github.com/repos/thoughtbot/anvil/issues/1","number":1,"state":"open","locked":false,"title":"Add initial functions","user":{"login":"paulcsmith","id":22394,"avatar_url":"https://avatars.githubusercontent.com/u/22394?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcsmith","html_url":"https://github.com/paulcsmith","followers_url":"https://api.github.com/users/paulcsmith/followers","following_url":"https://api.github.com/users/paulcsmith/following{/other_user}","gists_url":"https://api.github.com/users/paulcsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcsmith/subscriptions","organizations_url":"https://api.github.com/users/paulcsmith/orgs","repos_url":"https://api.github.com/users/paulcsmith/repos","events_url":"https://api.github.com/users/paulcsmith/events{/privacy}","received_events_url":"https://api.github.com/users/paulcsmith/received_events","type":"User","site_admin":false},"body":"* build/2\r\n* create/2\r\n* create_pair/2\r\n* create_list/2\r\n* assoc/2","created_at":"2015-09-14T17:25:47Z","updated_at":"2015-09-14T17:38:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d31063ccda1e050984707f9a84254be262e0e8da","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/anvil/pulls/1/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/anvil/pulls/1/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/anvil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/anvil/issues/1/comments","statuses_url":"https://api.github.com/repos/thoughtbot/anvil/statuses/974b404876ac38de470973dd686b6aa568c5ded1","head":{"label":"thoughtbot:ps-add-code","ref":"ps-add-code","sha":"974b404876ac38de470973dd686b6aa568c5ded1","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":42458047,"name":"anvil","full_name":"thoughtbot/anvil","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/anvil","description":"Test data library for Elixir","fork":false,"url":"https://api.github.com/repos/thoughtbot/anvil","forks_url":"https://api.github.com/repos/thoughtbot/anvil/forks","keys_url":"https://api.github.com/repos/thoughtbot/anvil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/anvil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/anvil/teams","hooks_url":"https://api.github.com/repos/thoughtbot/anvil/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/anvil/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/anvil/events","assignees_url":"https://api.github.com/repos/thoughtbot/anvil/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/anvil/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/anvil/tags","blobs_url":"https://api.github.com/repos/thoughtbot/anvil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/anvil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/anvil/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/anvil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/anvil/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/anvil/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/anvil/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/anvil/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/anvil/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/anvil/subscription","commits_url":"https://api.github.com/repos/thoughtbot/anvil/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/anvil/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/anvil/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/anvil/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/anvil/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/anvil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/anvil/merges","archive_url":"https://api.github.com/repos/thoughtbot/anvil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/anvil/downloads","issues_url":"https://api.github.com/repos/thoughtbot/anvil/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/anvil/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/anvil/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/anvil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/anvil/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/anvil/releases{/id}","created_at":"2015-09-14T15:40:28Z","updated_at":"2015-09-14T17:23:41Z","pushed_at":"2015-09-14T17:25:47Z","git_url":"git://github.com/thoughtbot/anvil.git","ssh_url":"git@github.com:thoughtbot/anvil.git","clone_url":"https://github.com/thoughtbot/anvil.git","svn_url":"https://github.com/thoughtbot/anvil","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"thoughtbot:master","ref":"master","sha":"6babe1b9b78aa97deca8ac818e2ef61e726792a1","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":42458047,"name":"anvil","full_name":"thoughtbot/anvil","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/anvil","description":"Test data library for Elixir","fork":false,"url":"https://api.github.com/repos/thoughtbot/anvil","forks_url":"https://api.github.com/repos/thoughtbot/anvil/forks","keys_url":"https://api.github.com/repos/thoughtbot/anvil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/anvil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/anvil/teams","hooks_url":"https://api.github.com/repos/thoughtbot/anvil/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/anvil/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/anvil/events","assignees_url":"https://api.github.com/repos/thoughtbot/anvil/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/anvil/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/anvil/tags","blobs_url":"https://api.github.com/repos/thoughtbot/anvil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/anvil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/anvil/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/anvil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/anvil/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/anvil/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/anvil/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/anvil/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/anvil/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/anvil/subscription","commits_url":"https://api.github.com/repos/thoughtbot/anvil/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/anvil/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/anvil/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/anvil/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/anvil/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/anvil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/anvil/merges","archive_url":"https://api.github.com/repos/thoughtbot/anvil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/anvil/downloads","issues_url":"https://api.github.com/repos/thoughtbot/anvil/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/anvil/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/anvil/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/anvil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/anvil/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/anvil/releases{/id}","created_at":"2015-09-14T15:40:28Z","updated_at":"2015-09-14T17:23:41Z","pushed_at":"2015-09-14T17:25:47Z","git_url":"git://github.com/thoughtbot/anvil.git","ssh_url":"git@github.com:thoughtbot/anvil.git","clone_url":"https://github.com/thoughtbot/anvil.git","svn_url":"https://github.com/thoughtbot/anvil","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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/thoughtbot/anvil/pulls/1"},"html":{"href":"https://github.com/thoughtbot/anvil/pull/1"},"issue":{"href":"https://api.github.com/repos/thoughtbot/anvil/issues/1"},"comments":{"href":"https://api.github.com/repos/thoughtbot/anvil/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/anvil/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/anvil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/anvil/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/anvil/statuses/974b404876ac38de470973dd686b6aa568c5ded1"}}}}