{"action":"created","comment":{"url":"https://api.github.com/repos/valleyjo/orgman/pulls/comments/24877334","id":24877334,"diff_hunk":"@@ -0,0 +1,93 @@\n+FactoryGirl.define do\n+  factory :user do\n+    sequence(:first_name) { |n| \"FirstName#{n}\" }\n+    sequence(:last_name)  { |n| \"LastName#{n}\" }\n+    sequence(:email)      { |n| \"email-#{n}@example.com\" }\n+    confirmed_at { Time.now }\n+    password 'password'\n+    approved true\n+\n+    trait :unconfirmed do\n+      confirmed_at nil\n+    end\n+\n+    trait :unapproved do\n+      approved false\n+    end\n+  end\n+\n+  factory :link do\n+    sequence(:name) { |n| \"link#{n}\" }\n+    url 'example.com'\n+    expiration { DateTime.tomorrow }\n+    user\n+\n+    trait :expired do\n+      expiration { DateTime.yesterday }\n+    end\n+  end\n+\n+  factory :event_type do\n+    sequence(:name) { |n| \"event_type#{n}\" }\n+\n+    trait :require_points do\n+      points_required 2\n+    end\n+\n+    trait :require_percentage_attendance do\n+      percentage_attendance_required 90\n+    end\n+  end\n+\n+  factory :event do\n+    sequence(:name) { |n| \"link#{n}\" }\n+    date            { DateTime.yesterday }\n+    semester        { \"#{DateTime.now.year}1\" }","path":"spec/factories/factories.rb","position":45,"original_position":45,"commit_id":"8fef366d1fc211b0d4a679748833f0ec04eeed03","original_commit_id":"8fef366d1fc211b0d4a679748833f0ec04eeed03","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":"Unnecessary spacing detected.","created_at":"2015-02-18T03:42:37Z","updated_at":"2015-02-18T03:42:37Z","html_url":"https://github.com/valleyjo/orgman/pull/89#discussion_r24877334","pull_request_url":"https://api.github.com/repos/valleyjo/orgman/pulls/89","_links":{"self":{"href":"https://api.github.com/repos/valleyjo/orgman/pulls/comments/24877334"},"html":{"href":"https://github.com/valleyjo/orgman/pull/89#discussion_r24877334"},"pull_request":{"href":"https://api.github.com/repos/valleyjo/orgman/pulls/89"}}},"pull_request":{"url":"https://api.github.com/repos/valleyjo/orgman/pulls/89","id":29499300,"html_url":"https://github.com/valleyjo/orgman/pull/89","diff_url":"https://github.com/valleyjo/orgman/pull/89.diff","patch_url":"https://github.com/valleyjo/orgman/pull/89.patch","issue_url":"https://api.github.com/repos/valleyjo/orgman/issues/89","number":89,"state":"open","locked":false,"title":"Basic Factories","user":{"login":"D-Land","id":4397951,"avatar_url":"https://avatars.githubusercontent.com/u/4397951?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Land","html_url":"https://github.com/D-Land","followers_url":"https://api.github.com/users/D-Land/followers","following_url":"https://api.github.com/users/D-Land/following{/other_user}","gists_url":"https://api.github.com/users/D-Land/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Land/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Land/subscriptions","organizations_url":"https://api.github.com/users/D-Land/orgs","repos_url":"https://api.github.com/users/D-Land/repos","events_url":"https://api.github.com/users/D-Land/events{/privacy}","received_events_url":"https://api.github.com/users/D-Land/received_events","type":"User","site_admin":false},"body":"I have no idea why I cant get the current tests to run but I manually tested these factories and they appear to work","created_at":"2015-02-18T03:42:33Z","updated_at":"2015-02-18T03:42:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d499913907b0997f6f05f754c5b3fde2eab45649","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/valleyjo/orgman/pulls/89/commits","review_comments_url":"https://api.github.com/repos/valleyjo/orgman/pulls/89/comments","review_comment_url":"https://api.github.com/repos/valleyjo/orgman/pulls/comments/{number}","comments_url":"https://api.github.com/repos/valleyjo/orgman/issues/89/comments","statuses_url":"https://api.github.com/repos/valleyjo/orgman/statuses/8fef366d1fc211b0d4a679748833f0ec04eeed03","head":{"label":"valleyjo:dl/when_i_see_you_i_think_factory-girl","ref":"dl/when_i_see_you_i_think_factory-girl","sha":"8fef366d1fc211b0d4a679748833f0ec04eeed03","user":{"login":"valleyjo","id":4377539,"avatar_url":"https://avatars.githubusercontent.com/u/4377539?v=3","gravatar_id":"","url":"https://api.github.com/users/valleyjo","html_url":"https://github.com/valleyjo","followers_url":"https://api.github.com/users/valleyjo/followers","following_url":"https://api.github.com/users/valleyjo/following{/other_user}","gists_url":"https://api.github.com/users/valleyjo/gists{/gist_id}","starred_url":"https://api.github.com/users/valleyjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valleyjo/subscriptions","organizations_url":"https://api.github.com/users/valleyjo/orgs","repos_url":"https://api.github.com/users/valleyjo/repos","events_url":"https://api.github.com/users/valleyjo/events{/privacy}","received_events_url":"https://api.github.com/users/valleyjo/received_events","type":"User","site_admin":false},"repo":{"id":23852683,"name":"orgman","full_name":"valleyjo/orgman","owner":{"login":"valleyjo","id":4377539,"avatar_url":"https://avatars.githubusercontent.com/u/4377539?v=3","gravatar_id":"","url":"https://api.github.com/users/valleyjo","html_url":"https://github.com/valleyjo","followers_url":"https://api.github.com/users/valleyjo/followers","following_url":"https://api.github.com/users/valleyjo/following{/other_user}","gists_url":"https://api.github.com/users/valleyjo/gists{/gist_id}","starred_url":"https://api.github.com/users/valleyjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valleyjo/subscriptions","organizations_url":"https://api.github.com/users/valleyjo/orgs","repos_url":"https://api.github.com/users/valleyjo/repos","events_url":"https://api.github.com/users/valleyjo/events{/privacy}","received_events_url":"https://api.github.com/users/valleyjo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/valleyjo/orgman","description":"Org management with style :sparkles:","fork":false,"url":"https://api.github.com/repos/valleyjo/orgman","forks_url":"https://api.github.com/repos/valleyjo/orgman/forks","keys_url":"https://api.github.com/repos/valleyjo/orgman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valleyjo/orgman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valleyjo/orgman/teams","hooks_url":"https://api.github.com/repos/valleyjo/orgman/hooks","issue_events_url":"https://api.github.com/repos/valleyjo/orgman/issues/events{/number}","events_url":"https://api.github.com/repos/valleyjo/orgman/events","assignees_url":"https://api.github.com/repos/valleyjo/orgman/assignees{/user}","branches_url":"https://api.github.com/repos/valleyjo/orgman/branches{/branch}","tags_url":"https://api.github.com/repos/valleyjo/orgman/tags","blobs_url":"https://api.github.com/repos/valleyjo/orgman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valleyjo/orgman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valleyjo/orgman/git/refs{/sha}","trees_url":"https://api.github.com/repos/valleyjo/orgman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valleyjo/orgman/statuses/{sha}","languages_url":"https://api.github.com/repos/valleyjo/orgman/languages","stargazers_url":"https://api.github.com/repos/valleyjo/orgman/stargazers","contributors_url":"https://api.github.com/repos/valleyjo/orgman/contributors","subscribers_url":"https://api.github.com/repos/valleyjo/orgman/subscribers","subscription_url":"https://api.github.com/repos/valleyjo/orgman/subscription","commits_url":"https://api.github.com/repos/valleyjo/orgman/commits{/sha}","git_commits_url":"https://api.github.com/repos/valleyjo/orgman/git/commits{/sha}","comments_url":"https://api.github.com/repos/valleyjo/orgman/comments{/number}","issue_comment_url":"https://api.github.com/repos/valleyjo/orgman/issues/comments/{number}","contents_url":"https://api.github.com/repos/valleyjo/orgman/contents/{+path}","compare_url":"https://api.github.com/repos/valleyjo/orgman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valleyjo/orgman/merges","archive_url":"https://api.github.com/repos/valleyjo/orgman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valleyjo/orgman/downloads","issues_url":"https://api.github.com/repos/valleyjo/orgman/issues{/number}","pulls_url":"https://api.github.com/repos/valleyjo/orgman/pulls{/number}","milestones_url":"https://api.github.com/repos/valleyjo/orgman/milestones{/number}","notifications_url":"https://api.github.com/repos/valleyjo/orgman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valleyjo/orgman/labels{/name}","releases_url":"https://api.github.com/repos/valleyjo/orgman/releases{/id}","created_at":"2014-09-09T22:41:37Z","updated_at":"2015-02-15T00:32:11Z","pushed_at":"2015-02-18T03:40:36Z","git_url":"git://github.com/valleyjo/orgman.git","ssh_url":"git@github.com:valleyjo/orgman.git","clone_url":"https://github.com/valleyjo/orgman.git","svn_url":"https://github.com/valleyjo/orgman","homepage":"http://orgman.herokuapp.com/","size":1550,"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":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"valleyjo:master","ref":"master","sha":"2b8ce72c2608da98f1ced7773ae0c6161cfbd689","user":{"login":"valleyjo","id":4377539,"avatar_url":"https://avatars.githubusercontent.com/u/4377539?v=3","gravatar_id":"","url":"https://api.github.com/users/valleyjo","html_url":"https://github.com/valleyjo","followers_url":"https://api.github.com/users/valleyjo/followers","following_url":"https://api.github.com/users/valleyjo/following{/other_user}","gists_url":"https://api.github.com/users/valleyjo/gists{/gist_id}","starred_url":"https://api.github.com/users/valleyjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valleyjo/subscriptions","organizations_url":"https://api.github.com/users/valleyjo/orgs","repos_url":"https://api.github.com/users/valleyjo/repos","events_url":"https://api.github.com/users/valleyjo/events{/privacy}","received_events_url":"https://api.github.com/users/valleyjo/received_events","type":"User","site_admin":false},"repo":{"id":23852683,"name":"orgman","full_name":"valleyjo/orgman","owner":{"login":"valleyjo","id":4377539,"avatar_url":"https://avatars.githubusercontent.com/u/4377539?v=3","gravatar_id":"","url":"https://api.github.com/users/valleyjo","html_url":"https://github.com/valleyjo","followers_url":"https://api.github.com/users/valleyjo/followers","following_url":"https://api.github.com/users/valleyjo/following{/other_user}","gists_url":"https://api.github.com/users/valleyjo/gists{/gist_id}","starred_url":"https://api.github.com/users/valleyjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valleyjo/subscriptions","organizations_url":"https://api.github.com/users/valleyjo/orgs","repos_url":"https://api.github.com/users/valleyjo/repos","events_url":"https://api.github.com/users/valleyjo/events{/privacy}","received_events_url":"https://api.github.com/users/valleyjo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/valleyjo/orgman","description":"Org management with style :sparkles:","fork":false,"url":"https://api.github.com/repos/valleyjo/orgman","forks_url":"https://api.github.com/repos/valleyjo/orgman/forks","keys_url":"https://api.github.com/repos/valleyjo/orgman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valleyjo/orgman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valleyjo/orgman/teams","hooks_url":"https://api.github.com/repos/valleyjo/orgman/hooks","issue_events_url":"https://api.github.com/repos/valleyjo/orgman/issues/events{/number}","events_url":"https://api.github.com/repos/valleyjo/orgman/events","assignees_url":"https://api.github.com/repos/valleyjo/orgman/assignees{/user}","branches_url":"https://api.github.com/repos/valleyjo/orgman/branches{/branch}","tags_url":"https://api.github.com/repos/valleyjo/orgman/tags","blobs_url":"https://api.github.com/repos/valleyjo/orgman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valleyjo/orgman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valleyjo/orgman/git/refs{/sha}","trees_url":"https://api.github.com/repos/valleyjo/orgman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valleyjo/orgman/statuses/{sha}","languages_url":"https://api.github.com/repos/valleyjo/orgman/languages","stargazers_url":"https://api.github.com/repos/valleyjo/orgman/stargazers","contributors_url":"https://api.github.com/repos/valleyjo/orgman/contributors","subscribers_url":"https://api.github.com/repos/valleyjo/orgman/subscribers","subscription_url":"https://api.github.com/repos/valleyjo/orgman/subscription","commits_url":"https://api.github.com/repos/valleyjo/orgman/commits{/sha}","git_commits_url":"https://api.github.com/repos/valleyjo/orgman/git/commits{/sha}","comments_url":"https://api.github.com/repos/valleyjo/orgman/comments{/number}","issue_comment_url":"https://api.github.com/repos/valleyjo/orgman/issues/comments/{number}","contents_url":"https://api.github.com/repos/valleyjo/orgman/contents/{+path}","compare_url":"https://api.github.com/repos/valleyjo/orgman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valleyjo/orgman/merges","archive_url":"https://api.github.com/repos/valleyjo/orgman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valleyjo/orgman/downloads","issues_url":"https://api.github.com/repos/valleyjo/orgman/issues{/number}","pulls_url":"https://api.github.com/repos/valleyjo/orgman/pulls{/number}","milestones_url":"https://api.github.com/repos/valleyjo/orgman/milestones{/number}","notifications_url":"https://api.github.com/repos/valleyjo/orgman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valleyjo/orgman/labels{/name}","releases_url":"https://api.github.com/repos/valleyjo/orgman/releases{/id}","created_at":"2014-09-09T22:41:37Z","updated_at":"2015-02-15T00:32:11Z","pushed_at":"2015-02-18T03:40:36Z","git_url":"git://github.com/valleyjo/orgman.git","ssh_url":"git@github.com:valleyjo/orgman.git","clone_url":"https://github.com/valleyjo/orgman.git","svn_url":"https://github.com/valleyjo/orgman","homepage":"http://orgman.herokuapp.com/","size":1550,"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":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/valleyjo/orgman/pulls/89"},"html":{"href":"https://github.com/valleyjo/orgman/pull/89"},"issue":{"href":"https://api.github.com/repos/valleyjo/orgman/issues/89"},"comments":{"href":"https://api.github.com/repos/valleyjo/orgman/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/valleyjo/orgman/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/valleyjo/orgman/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/valleyjo/orgman/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/valleyjo/orgman/statuses/8fef366d1fc211b0d4a679748833f0ec04eeed03"}}}}