{"action":"created","comment":{"url":"https://api.github.com/repos/cluhring/the_pivot/pulls/comments/25050316","id":25050316,"diff_hunk":"@@ -0,0 +1,35 @@\n+FactoryGirl.define do\n+  factory :user do\n+    first_name \"Alice\"\n+    last_name \"Smith\"\n+    display_name \"valid\"\n+    email \"alica@email.com\"\n+    about_me \"I am Alice\"\n+    password \"password\"\n+  end\n+\n+  factory :category do\n+    name \"Condo\"\n+  end\n+\n+  factory :listing do\n+    before(:create) do |listing|\n+      listing.category = create(:category)\n+    end\n+\n+    before(:create) do |listing|\n+      listing.user = create(:user, display_name: \"validd\", email: \"asmith@emial.com\")","path":"spec/factories.rb","position":21,"original_position":21,"commit_id":"aee0b19d687fe219cbe46159d15b0adb26b3f9f2","original_commit_id":"aee0b19d687fe219cbe46159d15b0adb26b3f9f2","user":{"login":"cluhring","id":8466906,"avatar_url":"https://avatars.githubusercontent.com/u/8466906?v=3","gravatar_id":"","url":"https://api.github.com/users/cluhring","html_url":"https://github.com/cluhring","followers_url":"https://api.github.com/users/cluhring/followers","following_url":"https://api.github.com/users/cluhring/following{/other_user}","gists_url":"https://api.github.com/users/cluhring/gists{/gist_id}","starred_url":"https://api.github.com/users/cluhring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cluhring/subscriptions","organizations_url":"https://api.github.com/users/cluhring/orgs","repos_url":"https://api.github.com/users/cluhring/repos","events_url":"https://api.github.com/users/cluhring/events{/privacy}","received_events_url":"https://api.github.com/users/cluhring/received_events","type":"User","site_admin":false},"body":"Factory Girl is only for tests, right?  Want me to work on faking out seed data with Faker gem?","created_at":"2015-02-20T05:41:31Z","updated_at":"2015-02-20T05:41:31Z","html_url":"https://github.com/cluhring/the_pivot/pull/81#discussion_r25050316","pull_request_url":"https://api.github.com/repos/cluhring/the_pivot/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/cluhring/the_pivot/pulls/comments/25050316"},"html":{"href":"https://github.com/cluhring/the_pivot/pull/81#discussion_r25050316"},"pull_request":{"href":"https://api.github.com/repos/cluhring/the_pivot/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/cluhring/the_pivot/pulls/81","id":29672880,"html_url":"https://github.com/cluhring/the_pivot/pull/81","diff_url":"https://github.com/cluhring/the_pivot/pull/81.diff","patch_url":"https://github.com/cluhring/the_pivot/pull/81.patch","issue_url":"https://api.github.com/repos/cluhring/the_pivot/issues/81","number":81,"state":"open","locked":false,"title":"User can update listings","user":{"login":"kpearson","id":3293289,"avatar_url":"https://avatars.githubusercontent.com/u/3293289?v=3","gravatar_id":"","url":"https://api.github.com/users/kpearson","html_url":"https://github.com/kpearson","followers_url":"https://api.github.com/users/kpearson/followers","following_url":"https://api.github.com/users/kpearson/following{/other_user}","gists_url":"https://api.github.com/users/kpearson/gists{/gist_id}","starred_url":"https://api.github.com/users/kpearson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpearson/subscriptions","organizations_url":"https://api.github.com/users/kpearson/orgs","repos_url":"https://api.github.com/users/kpearson/repos","events_url":"https://api.github.com/users/kpearson/events{/privacy}","received_events_url":"https://api.github.com/users/kpearson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-20T04:49:53Z","updated_at":"2015-02-20T05:41:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c5b070e0278b1d41b84e1382518ce593a2ce65c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cluhring/the_pivot/pulls/81/commits","review_comments_url":"https://api.github.com/repos/cluhring/the_pivot/pulls/81/comments","review_comment_url":"https://api.github.com/repos/cluhring/the_pivot/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cluhring/the_pivot/issues/81/comments","statuses_url":"https://api.github.com/repos/cluhring/the_pivot/statuses/aee0b19d687fe219cbe46159d15b0adb26b3f9f2","head":{"label":"listing_update","ref":"listing_update","sha":"aee0b19d687fe219cbe46159d15b0adb26b3f9f2","user":{"login":"cluhring","id":8466906,"avatar_url":"https://avatars.githubusercontent.com/u/8466906?v=3","gravatar_id":"","url":"https://api.github.com/users/cluhring","html_url":"https://github.com/cluhring","followers_url":"https://api.github.com/users/cluhring/followers","following_url":"https://api.github.com/users/cluhring/following{/other_user}","gists_url":"https://api.github.com/users/cluhring/gists{/gist_id}","starred_url":"https://api.github.com/users/cluhring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cluhring/subscriptions","organizations_url":"https://api.github.com/users/cluhring/orgs","repos_url":"https://api.github.com/users/cluhring/repos","events_url":"https://api.github.com/users/cluhring/events{/privacy}","received_events_url":"https://api.github.com/users/cluhring/received_events","type":"User","site_admin":false},"repo":{"id":30557499,"name":"the_pivot","full_name":"cluhring/the_pivot","owner":{"login":"cluhring","id":8466906,"avatar_url":"https://avatars.githubusercontent.com/u/8466906?v=3","gravatar_id":"","url":"https://api.github.com/users/cluhring","html_url":"https://github.com/cluhring","followers_url":"https://api.github.com/users/cluhring/followers","following_url":"https://api.github.com/users/cluhring/following{/other_user}","gists_url":"https://api.github.com/users/cluhring/gists{/gist_id}","starred_url":"https://api.github.com/users/cluhring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cluhring/subscriptions","organizations_url":"https://api.github.com/users/cluhring/orgs","repos_url":"https://api.github.com/users/cluhring/repos","events_url":"https://api.github.com/users/cluhring/events{/privacy}","received_events_url":"https://api.github.com/users/cluhring/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cluhring/the_pivot","description":"Lydia, Bryce, Kit and Chris Pivot Dinner Dash into Travel Home","fork":false,"url":"https://api.github.com/repos/cluhring/the_pivot","forks_url":"https://api.github.com/repos/cluhring/the_pivot/forks","keys_url":"https://api.github.com/repos/cluhring/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cluhring/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cluhring/the_pivot/teams","hooks_url":"https://api.github.com/repos/cluhring/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/cluhring/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/cluhring/the_pivot/events","assignees_url":"https://api.github.com/repos/cluhring/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/cluhring/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/cluhring/the_pivot/tags","blobs_url":"https://api.github.com/repos/cluhring/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cluhring/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cluhring/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/cluhring/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cluhring/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/cluhring/the_pivot/languages","stargazers_url":"https://api.github.com/repos/cluhring/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/cluhring/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/cluhring/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/cluhring/the_pivot/subscription","commits_url":"https://api.github.com/repos/cluhring/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/cluhring/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/cluhring/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/cluhring/the_pivot/issues/comments/{number}","contents_url":"https://api.github.com/repos/cluhring/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/cluhring/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cluhring/the_pivot/merges","archive_url":"https://api.github.com/repos/cluhring/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cluhring/the_pivot/downloads","issues_url":"https://api.github.com/repos/cluhring/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/cluhring/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/cluhring/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/cluhring/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cluhring/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/cluhring/the_pivot/releases{/id}","created_at":"2015-02-09T20:43:51Z","updated_at":"2015-02-19T21:39:09Z","pushed_at":"2015-02-20T05:31:38Z","git_url":"git://github.com/cluhring/the_pivot.git","ssh_url":"git@github.com:cluhring/the_pivot.git","clone_url":"https://github.com/cluhring/the_pivot.git","svn_url":"https://github.com/cluhring/the_pivot","homepage":null,"size":30218,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":37,"forks":2,"open_issues":37,"watchers":0,"default_branch":"master"}},"base":{"label":"master","ref":"master","sha":"ff5a3656135ff3476aafbade5efbdba4c859ceb7","user":{"login":"cluhring","id":8466906,"avatar_url":"https://avatars.githubusercontent.com/u/8466906?v=3","gravatar_id":"","url":"https://api.github.com/users/cluhring","html_url":"https://github.com/cluhring","followers_url":"https://api.github.com/users/cluhring/followers","following_url":"https://api.github.com/users/cluhring/following{/other_user}","gists_url":"https://api.github.com/users/cluhring/gists{/gist_id}","starred_url":"https://api.github.com/users/cluhring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cluhring/subscriptions","organizations_url":"https://api.github.com/users/cluhring/orgs","repos_url":"https://api.github.com/users/cluhring/repos","events_url":"https://api.github.com/users/cluhring/events{/privacy}","received_events_url":"https://api.github.com/users/cluhring/received_events","type":"User","site_admin":false},"repo":{"id":30557499,"name":"the_pivot","full_name":"cluhring/the_pivot","owner":{"login":"cluhring","id":8466906,"avatar_url":"https://avatars.githubusercontent.com/u/8466906?v=3","gravatar_id":"","url":"https://api.github.com/users/cluhring","html_url":"https://github.com/cluhring","followers_url":"https://api.github.com/users/cluhring/followers","following_url":"https://api.github.com/users/cluhring/following{/other_user}","gists_url":"https://api.github.com/users/cluhring/gists{/gist_id}","starred_url":"https://api.github.com/users/cluhring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cluhring/subscriptions","organizations_url":"https://api.github.com/users/cluhring/orgs","repos_url":"https://api.github.com/users/cluhring/repos","events_url":"https://api.github.com/users/cluhring/events{/privacy}","received_events_url":"https://api.github.com/users/cluhring/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cluhring/the_pivot","description":"Lydia, Bryce, Kit and Chris Pivot Dinner Dash into Travel Home","fork":false,"url":"https://api.github.com/repos/cluhring/the_pivot","forks_url":"https://api.github.com/repos/cluhring/the_pivot/forks","keys_url":"https://api.github.com/repos/cluhring/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cluhring/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cluhring/the_pivot/teams","hooks_url":"https://api.github.com/repos/cluhring/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/cluhring/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/cluhring/the_pivot/events","assignees_url":"https://api.github.com/repos/cluhring/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/cluhring/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/cluhring/the_pivot/tags","blobs_url":"https://api.github.com/repos/cluhring/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cluhring/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cluhring/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/cluhring/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cluhring/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/cluhring/the_pivot/languages","stargazers_url":"https://api.github.com/repos/cluhring/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/cluhring/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/cluhring/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/cluhring/the_pivot/subscription","commits_url":"https://api.github.com/repos/cluhring/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/cluhring/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/cluhring/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/cluhring/the_pivot/issues/comments/{number}","contents_url":"https://api.github.com/repos/cluhring/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/cluhring/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cluhring/the_pivot/merges","archive_url":"https://api.github.com/repos/cluhring/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cluhring/the_pivot/downloads","issues_url":"https://api.github.com/repos/cluhring/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/cluhring/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/cluhring/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/cluhring/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cluhring/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/cluhring/the_pivot/releases{/id}","created_at":"2015-02-09T20:43:51Z","updated_at":"2015-02-19T21:39:09Z","pushed_at":"2015-02-20T05:31:38Z","git_url":"git://github.com/cluhring/the_pivot.git","ssh_url":"git@github.com:cluhring/the_pivot.git","clone_url":"https://github.com/cluhring/the_pivot.git","svn_url":"https://github.com/cluhring/the_pivot","homepage":null,"size":30218,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":37,"forks":2,"open_issues":37,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cluhring/the_pivot/pulls/81"},"html":{"href":"https://github.com/cluhring/the_pivot/pull/81"},"issue":{"href":"https://api.github.com/repos/cluhring/the_pivot/issues/81"},"comments":{"href":"https://api.github.com/repos/cluhring/the_pivot/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/cluhring/the_pivot/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/cluhring/the_pivot/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cluhring/the_pivot/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/cluhring/the_pivot/statuses/aee0b19d687fe219cbe46159d15b0adb26b3f9f2"}}}}