{"action":"created","comment":{"url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/comments/26376266","id":26376266,"diff_hunk":"@@ -0,0 +1,28 @@\n+require \"spec_helper\"\n+\n+describe Event do\n+  it { should have_many(:event_registrations) }\n+  it { should have_many(:sponsors).through(:sponsorships) }\n+  it { should have_many(:sponsorships) }\n+  it { should have_many(:users).through(:event_registrations) }\n+\n+  before(:each) do\n+    @event1 = create(:event, start_date: Time.now, \n+      end_date: Time.now + 1.day)","path":"spec/models/event_spec.rb","position":11,"original_position":11,"commit_id":"df0fda1ab6057c28c58e6a4cb23139df62e6abd6","original_commit_id":"df0fda1ab6057c28c58e6a4cb23139df62e6abd6","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":"Align the elements of a hash literal if they span more than one line.","created_at":"2015-03-13T10:34:24Z","updated_at":"2015-03-13T10:34:24Z","html_url":"https://github.com/CodeMontageHQ/codemontage/pull/284#discussion_r26376266","pull_request_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/284","_links":{"self":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/comments/26376266"},"html":{"href":"https://github.com/CodeMontageHQ/codemontage/pull/284#discussion_r26376266"},"pull_request":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/284"}}},"pull_request":{"url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/284","id":26576439,"html_url":"https://github.com/CodeMontageHQ/codemontage/pull/284","diff_url":"https://github.com/CodeMontageHQ/codemontage/pull/284.diff","patch_url":"https://github.com/CodeMontageHQ/codemontage/pull/284.patch","issue_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/284","number":284,"state":"open","locked":false,"title":"Added specs and factory girl","user":{"login":"PraveenVignesh","id":3017937,"avatar_url":"https://avatars.githubusercontent.com/u/3017937?v=3","gravatar_id":"","url":"https://api.github.com/users/PraveenVignesh","html_url":"https://github.com/PraveenVignesh","followers_url":"https://api.github.com/users/PraveenVignesh/followers","following_url":"https://api.github.com/users/PraveenVignesh/following{/other_user}","gists_url":"https://api.github.com/users/PraveenVignesh/gists{/gist_id}","starred_url":"https://api.github.com/users/PraveenVignesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PraveenVignesh/subscriptions","organizations_url":"https://api.github.com/users/PraveenVignesh/orgs","repos_url":"https://api.github.com/users/PraveenVignesh/repos","events_url":"https://api.github.com/users/PraveenVignesh/events{/privacy}","received_events_url":"https://api.github.com/users/PraveenVignesh/received_events","type":"User","site_admin":false},"body":"* added factory_girl_rails gem\r\n* added faker gem\r\n* created factories for models\r\n* added specs for relationships\r\n* added specs for scopes in model","created_at":"2014-12-25T07:39:30Z","updated_at":"2015-03-13T10:34:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a6a8fe837c2d82cff0d9a519fe23adcbe220329","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/284/commits","review_comments_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/284/comments","review_comment_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/284/comments","statuses_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/statuses/df0fda1ab6057c28c58e6a4cb23139df62e6abd6","head":{"label":"PraveenVignesh:add-specs-and-factory-girl","ref":"add-specs-and-factory-girl","sha":"df0fda1ab6057c28c58e6a4cb23139df62e6abd6","user":{"login":"PraveenVignesh","id":3017937,"avatar_url":"https://avatars.githubusercontent.com/u/3017937?v=3","gravatar_id":"","url":"https://api.github.com/users/PraveenVignesh","html_url":"https://github.com/PraveenVignesh","followers_url":"https://api.github.com/users/PraveenVignesh/followers","following_url":"https://api.github.com/users/PraveenVignesh/following{/other_user}","gists_url":"https://api.github.com/users/PraveenVignesh/gists{/gist_id}","starred_url":"https://api.github.com/users/PraveenVignesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PraveenVignesh/subscriptions","organizations_url":"https://api.github.com/users/PraveenVignesh/orgs","repos_url":"https://api.github.com/users/PraveenVignesh/repos","events_url":"https://api.github.com/users/PraveenVignesh/events{/privacy}","received_events_url":"https://api.github.com/users/PraveenVignesh/received_events","type":"User","site_admin":false},"repo":{"id":28418121,"name":"codemontage","full_name":"PraveenVignesh/codemontage","owner":{"login":"PraveenVignesh","id":3017937,"avatar_url":"https://avatars.githubusercontent.com/u/3017937?v=3","gravatar_id":"","url":"https://api.github.com/users/PraveenVignesh","html_url":"https://github.com/PraveenVignesh","followers_url":"https://api.github.com/users/PraveenVignesh/followers","following_url":"https://api.github.com/users/PraveenVignesh/following{/other_user}","gists_url":"https://api.github.com/users/PraveenVignesh/gists{/gist_id}","starred_url":"https://api.github.com/users/PraveenVignesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PraveenVignesh/subscriptions","organizations_url":"https://api.github.com/users/PraveenVignesh/orgs","repos_url":"https://api.github.com/users/PraveenVignesh/repos","events_url":"https://api.github.com/users/PraveenVignesh/events{/privacy}","received_events_url":"https://api.github.com/users/PraveenVignesh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PraveenVignesh/codemontage","description":"CodeMontage empowers coders to improve their impact on the world. Find open source software projects with a social impact and save the world.","fork":true,"url":"https://api.github.com/repos/PraveenVignesh/codemontage","forks_url":"https://api.github.com/repos/PraveenVignesh/codemontage/forks","keys_url":"https://api.github.com/repos/PraveenVignesh/codemontage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PraveenVignesh/codemontage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PraveenVignesh/codemontage/teams","hooks_url":"https://api.github.com/repos/PraveenVignesh/codemontage/hooks","issue_events_url":"https://api.github.com/repos/PraveenVignesh/codemontage/issues/events{/number}","events_url":"https://api.github.com/repos/PraveenVignesh/codemontage/events","assignees_url":"https://api.github.com/repos/PraveenVignesh/codemontage/assignees{/user}","branches_url":"https://api.github.com/repos/PraveenVignesh/codemontage/branches{/branch}","tags_url":"https://api.github.com/repos/PraveenVignesh/codemontage/tags","blobs_url":"https://api.github.com/repos/PraveenVignesh/codemontage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PraveenVignesh/codemontage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PraveenVignesh/codemontage/git/refs{/sha}","trees_url":"https://api.github.com/repos/PraveenVignesh/codemontage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PraveenVignesh/codemontage/statuses/{sha}","languages_url":"https://api.github.com/repos/PraveenVignesh/codemontage/languages","stargazers_url":"https://api.github.com/repos/PraveenVignesh/codemontage/stargazers","contributors_url":"https://api.github.com/repos/PraveenVignesh/codemontage/contributors","subscribers_url":"https://api.github.com/repos/PraveenVignesh/codemontage/subscribers","subscription_url":"https://api.github.com/repos/PraveenVignesh/codemontage/subscription","commits_url":"https://api.github.com/repos/PraveenVignesh/codemontage/commits{/sha}","git_commits_url":"https://api.github.com/repos/PraveenVignesh/codemontage/git/commits{/sha}","comments_url":"https://api.github.com/repos/PraveenVignesh/codemontage/comments{/number}","issue_comment_url":"https://api.github.com/repos/PraveenVignesh/codemontage/issues/comments{/number}","contents_url":"https://api.github.com/repos/PraveenVignesh/codemontage/contents/{+path}","compare_url":"https://api.github.com/repos/PraveenVignesh/codemontage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PraveenVignesh/codemontage/merges","archive_url":"https://api.github.com/repos/PraveenVignesh/codemontage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PraveenVignesh/codemontage/downloads","issues_url":"https://api.github.com/repos/PraveenVignesh/codemontage/issues{/number}","pulls_url":"https://api.github.com/repos/PraveenVignesh/codemontage/pulls{/number}","milestones_url":"https://api.github.com/repos/PraveenVignesh/codemontage/milestones{/number}","notifications_url":"https://api.github.com/repos/PraveenVignesh/codemontage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PraveenVignesh/codemontage/labels{/name}","releases_url":"https://api.github.com/repos/PraveenVignesh/codemontage/releases{/id}","created_at":"2014-12-23T20:27:35Z","updated_at":"2014-12-23T20:27:38Z","pushed_at":"2015-03-13T10:34:20Z","git_url":"git://github.com/PraveenVignesh/codemontage.git","ssh_url":"git@github.com:PraveenVignesh/codemontage.git","clone_url":"https://github.com/PraveenVignesh/codemontage.git","svn_url":"https://github.com/PraveenVignesh/codemontage","homepage":"http://codemontage.com","size":21359,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CodeMontageHQ:master","ref":"master","sha":"1c04d9f30d0086d3ed84e0707c82f037d711fb68","user":{"login":"CodeMontageHQ","id":3221894,"avatar_url":"https://avatars.githubusercontent.com/u/3221894?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeMontageHQ","html_url":"https://github.com/CodeMontageHQ","followers_url":"https://api.github.com/users/CodeMontageHQ/followers","following_url":"https://api.github.com/users/CodeMontageHQ/following{/other_user}","gists_url":"https://api.github.com/users/CodeMontageHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMontageHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMontageHQ/subscriptions","organizations_url":"https://api.github.com/users/CodeMontageHQ/orgs","repos_url":"https://api.github.com/users/CodeMontageHQ/repos","events_url":"https://api.github.com/users/CodeMontageHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMontageHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":7514230,"name":"codemontage","full_name":"CodeMontageHQ/codemontage","owner":{"login":"CodeMontageHQ","id":3221894,"avatar_url":"https://avatars.githubusercontent.com/u/3221894?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeMontageHQ","html_url":"https://github.com/CodeMontageHQ","followers_url":"https://api.github.com/users/CodeMontageHQ/followers","following_url":"https://api.github.com/users/CodeMontageHQ/following{/other_user}","gists_url":"https://api.github.com/users/CodeMontageHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMontageHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMontageHQ/subscriptions","organizations_url":"https://api.github.com/users/CodeMontageHQ/orgs","repos_url":"https://api.github.com/users/CodeMontageHQ/repos","events_url":"https://api.github.com/users/CodeMontageHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMontageHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeMontageHQ/codemontage","description":"CodeMontage empowers coders to improve their impact on the world. Find open source software projects with a social impact and save the world.","fork":false,"url":"https://api.github.com/repos/CodeMontageHQ/codemontage","forks_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/forks","keys_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/teams","hooks_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/hooks","issue_events_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/events{/number}","events_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/events","assignees_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/assignees{/user}","branches_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/branches{/branch}","tags_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/tags","blobs_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/languages","stargazers_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/stargazers","contributors_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/contributors","subscribers_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/subscribers","subscription_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/subscription","commits_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/contents/{+path}","compare_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/merges","archive_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/downloads","issues_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues{/number}","pulls_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/labels{/name}","releases_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/releases{/id}","created_at":"2013-01-09T03:32:22Z","updated_at":"2015-03-13T05:43:10Z","pushed_at":"2015-03-13T05:43:09Z","git_url":"git://github.com/CodeMontageHQ/codemontage.git","ssh_url":"git@github.com:CodeMontageHQ/codemontage.git","clone_url":"https://github.com/CodeMontageHQ/codemontage.git","svn_url":"https://github.com/CodeMontageHQ/codemontage","homepage":"http://codemontage.com","size":25450,"stargazers_count":39,"watchers_count":39,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":45,"forks":60,"open_issues":45,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/284"},"html":{"href":"https://github.com/CodeMontageHQ/codemontage/pull/284"},"issue":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/284"},"comments":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/284/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/284/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/284/commits"},"statuses":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/statuses/df0fda1ab6057c28c58e6a4cb23139df62e6abd6"}}}}