{"action":"created","comment":{"url":"https://api.github.com/repos/payrollhero/ph_model/pulls/comments/51673414","id":51673414,"diff_hunk":"@@ -0,0 +1,33 @@\n+require \"spec_helper\"\n+\n+describe PhModel do\n+  subject(:model_class) {\n+    temp_class = Class.new do\n+      include PhModel\n+\n+      attribute :foo\n+\n+      validates :foo, collection_items: { type: Symbol, inclusion: { in: [:foo, :bar] } }\n+    end\n+\n+    stub_const \"FooModel\", temp_class\n+\n+    temp_class\n+  }\n+\n+  it {\n+    expect {","path":"spec/active_model/validations/collection_items_validator_spec.rb","position":19,"original_position":19,"commit_id":"fcca6d8c038e2eed19d0199d9ceace49862a312c","original_commit_id":"fcca6d8c038e2eed19d0199d9ceace49862a312c","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":"Avoid using `{...}` for multi-line blocks.","created_at":"2016-02-03T03:07:25Z","updated_at":"2016-02-03T03:07:25Z","html_url":"https://github.com/payrollhero/ph_model/pull/1#discussion_r51673414","pull_request_url":"https://api.github.com/repos/payrollhero/ph_model/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/payrollhero/ph_model/pulls/comments/51673414"},"html":{"href":"https://github.com/payrollhero/ph_model/pull/1#discussion_r51673414"},"pull_request":{"href":"https://api.github.com/repos/payrollhero/ph_model/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/payrollhero/ph_model/pulls/1","id":58082475,"html_url":"https://github.com/payrollhero/ph_model/pull/1","diff_url":"https://github.com/payrollhero/ph_model/pull/1.diff","patch_url":"https://github.com/payrollhero/ph_model/pull/1.patch","issue_url":"https://api.github.com/repos/payrollhero/ph_model/issues/1","number":1,"state":"open","locked":false,"title":"Initial extract from ph_utility","user":{"login":"piotrb","id":13251,"avatar_url":"https://avatars.githubusercontent.com/u/13251?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrb","html_url":"https://github.com/piotrb","followers_url":"https://api.github.com/users/piotrb/followers","following_url":"https://api.github.com/users/piotrb/following{/other_user}","gists_url":"https://api.github.com/users/piotrb/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrb/subscriptions","organizations_url":"https://api.github.com/users/piotrb/orgs","repos_url":"https://api.github.com/users/piotrb/repos","events_url":"https://api.github.com/users/piotrb/events{/privacy}","received_events_url":"https://api.github.com/users/piotrb/received_events","type":"User","site_admin":false},"body":"**Feature:**\r\nNeeded this to be standalone in order to make the webhook system standalone\r\n\r\n**Ticket:**\r\nRelated to integrating the webhook system into PayrollHero\r\n\r\n**Submitter Checklist:**\r\n- [ ] CI Passing\r\n- [ ] PR Linked to Asana Ticket\r\n- [ ] Hound Appeased Acceptably\r\n- [ ] No Code Climate Issues\r\n- [ ] Class, Module, and public method comments up to spec\r\n\r\n**Reviewer Checklist:**\r\n- [ ] New Code Tested Effectively\r\n- [ ] Code organization meets SOP standards\r\n- [ ] Does this code fullfill the ticket?\r\n\r\n**Only Then:**\r\n- [ ] Move ticket in Asana","created_at":"2016-02-03T02:22:35Z","updated_at":"2016-02-03T03:07:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b01c6724dfda9c3377aec7c5fdc3fc43b58f8e03","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/payrollhero/ph_model/pulls/1/commits","review_comments_url":"https://api.github.com/repos/payrollhero/ph_model/pulls/1/comments","review_comment_url":"https://api.github.com/repos/payrollhero/ph_model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/payrollhero/ph_model/issues/1/comments","statuses_url":"https://api.github.com/repos/payrollhero/ph_model/statuses/fcca6d8c038e2eed19d0199d9ceace49862a312c","head":{"label":"payrollhero:initial-version","ref":"initial-version","sha":"fcca6d8c038e2eed19d0199d9ceace49862a312c","user":{"login":"payrollhero","id":1617662,"avatar_url":"https://avatars.githubusercontent.com/u/1617662?v=3","gravatar_id":"","url":"https://api.github.com/users/payrollhero","html_url":"https://github.com/payrollhero","followers_url":"https://api.github.com/users/payrollhero/followers","following_url":"https://api.github.com/users/payrollhero/following{/other_user}","gists_url":"https://api.github.com/users/payrollhero/gists{/gist_id}","starred_url":"https://api.github.com/users/payrollhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payrollhero/subscriptions","organizations_url":"https://api.github.com/users/payrollhero/orgs","repos_url":"https://api.github.com/users/payrollhero/repos","events_url":"https://api.github.com/users/payrollhero/events{/privacy}","received_events_url":"https://api.github.com/users/payrollhero/received_events","type":"Organization","site_admin":false},"repo":{"id":50967444,"name":"ph_model","full_name":"payrollhero/ph_model","owner":{"login":"payrollhero","id":1617662,"avatar_url":"https://avatars.githubusercontent.com/u/1617662?v=3","gravatar_id":"","url":"https://api.github.com/users/payrollhero","html_url":"https://github.com/payrollhero","followers_url":"https://api.github.com/users/payrollhero/followers","following_url":"https://api.github.com/users/payrollhero/following{/other_user}","gists_url":"https://api.github.com/users/payrollhero/gists{/gist_id}","starred_url":"https://api.github.com/users/payrollhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payrollhero/subscriptions","organizations_url":"https://api.github.com/users/payrollhero/orgs","repos_url":"https://api.github.com/users/payrollhero/repos","events_url":"https://api.github.com/users/payrollhero/events{/privacy}","received_events_url":"https://api.github.com/users/payrollhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/payrollhero/ph_model","description":"active_model, active_attr brought together at last","fork":false,"url":"https://api.github.com/repos/payrollhero/ph_model","forks_url":"https://api.github.com/repos/payrollhero/ph_model/forks","keys_url":"https://api.github.com/repos/payrollhero/ph_model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/payrollhero/ph_model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/payrollhero/ph_model/teams","hooks_url":"https://api.github.com/repos/payrollhero/ph_model/hooks","issue_events_url":"https://api.github.com/repos/payrollhero/ph_model/issues/events{/number}","events_url":"https://api.github.com/repos/payrollhero/ph_model/events","assignees_url":"https://api.github.com/repos/payrollhero/ph_model/assignees{/user}","branches_url":"https://api.github.com/repos/payrollhero/ph_model/branches{/branch}","tags_url":"https://api.github.com/repos/payrollhero/ph_model/tags","blobs_url":"https://api.github.com/repos/payrollhero/ph_model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/payrollhero/ph_model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/payrollhero/ph_model/git/refs{/sha}","trees_url":"https://api.github.com/repos/payrollhero/ph_model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/payrollhero/ph_model/statuses/{sha}","languages_url":"https://api.github.com/repos/payrollhero/ph_model/languages","stargazers_url":"https://api.github.com/repos/payrollhero/ph_model/stargazers","contributors_url":"https://api.github.com/repos/payrollhero/ph_model/contributors","subscribers_url":"https://api.github.com/repos/payrollhero/ph_model/subscribers","subscription_url":"https://api.github.com/repos/payrollhero/ph_model/subscription","commits_url":"https://api.github.com/repos/payrollhero/ph_model/commits{/sha}","git_commits_url":"https://api.github.com/repos/payrollhero/ph_model/git/commits{/sha}","comments_url":"https://api.github.com/repos/payrollhero/ph_model/comments{/number}","issue_comment_url":"https://api.github.com/repos/payrollhero/ph_model/issues/comments{/number}","contents_url":"https://api.github.com/repos/payrollhero/ph_model/contents/{+path}","compare_url":"https://api.github.com/repos/payrollhero/ph_model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/payrollhero/ph_model/merges","archive_url":"https://api.github.com/repos/payrollhero/ph_model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/payrollhero/ph_model/downloads","issues_url":"https://api.github.com/repos/payrollhero/ph_model/issues{/number}","pulls_url":"https://api.github.com/repos/payrollhero/ph_model/pulls{/number}","milestones_url":"https://api.github.com/repos/payrollhero/ph_model/milestones{/number}","notifications_url":"https://api.github.com/repos/payrollhero/ph_model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/payrollhero/ph_model/labels{/name}","releases_url":"https://api.github.com/repos/payrollhero/ph_model/releases{/id}","deployments_url":"https://api.github.com/repos/payrollhero/ph_model/deployments","created_at":"2016-02-03T02:18:23Z","updated_at":"2016-02-03T02:18:23Z","pushed_at":"2016-02-03T03:07:19Z","git_url":"git://github.com/payrollhero/ph_model.git","ssh_url":"git@github.com:payrollhero/ph_model.git","clone_url":"https://github.com/payrollhero/ph_model.git","svn_url":"https://github.com/payrollhero/ph_model","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":null,"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":"payrollhero:master","ref":"master","sha":"2618e3b28924c44da15e378a0d382e920e0997dc","user":{"login":"payrollhero","id":1617662,"avatar_url":"https://avatars.githubusercontent.com/u/1617662?v=3","gravatar_id":"","url":"https://api.github.com/users/payrollhero","html_url":"https://github.com/payrollhero","followers_url":"https://api.github.com/users/payrollhero/followers","following_url":"https://api.github.com/users/payrollhero/following{/other_user}","gists_url":"https://api.github.com/users/payrollhero/gists{/gist_id}","starred_url":"https://api.github.com/users/payrollhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payrollhero/subscriptions","organizations_url":"https://api.github.com/users/payrollhero/orgs","repos_url":"https://api.github.com/users/payrollhero/repos","events_url":"https://api.github.com/users/payrollhero/events{/privacy}","received_events_url":"https://api.github.com/users/payrollhero/received_events","type":"Organization","site_admin":false},"repo":{"id":50967444,"name":"ph_model","full_name":"payrollhero/ph_model","owner":{"login":"payrollhero","id":1617662,"avatar_url":"https://avatars.githubusercontent.com/u/1617662?v=3","gravatar_id":"","url":"https://api.github.com/users/payrollhero","html_url":"https://github.com/payrollhero","followers_url":"https://api.github.com/users/payrollhero/followers","following_url":"https://api.github.com/users/payrollhero/following{/other_user}","gists_url":"https://api.github.com/users/payrollhero/gists{/gist_id}","starred_url":"https://api.github.com/users/payrollhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payrollhero/subscriptions","organizations_url":"https://api.github.com/users/payrollhero/orgs","repos_url":"https://api.github.com/users/payrollhero/repos","events_url":"https://api.github.com/users/payrollhero/events{/privacy}","received_events_url":"https://api.github.com/users/payrollhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/payrollhero/ph_model","description":"active_model, active_attr brought together at last","fork":false,"url":"https://api.github.com/repos/payrollhero/ph_model","forks_url":"https://api.github.com/repos/payrollhero/ph_model/forks","keys_url":"https://api.github.com/repos/payrollhero/ph_model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/payrollhero/ph_model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/payrollhero/ph_model/teams","hooks_url":"https://api.github.com/repos/payrollhero/ph_model/hooks","issue_events_url":"https://api.github.com/repos/payrollhero/ph_model/issues/events{/number}","events_url":"https://api.github.com/repos/payrollhero/ph_model/events","assignees_url":"https://api.github.com/repos/payrollhero/ph_model/assignees{/user}","branches_url":"https://api.github.com/repos/payrollhero/ph_model/branches{/branch}","tags_url":"https://api.github.com/repos/payrollhero/ph_model/tags","blobs_url":"https://api.github.com/repos/payrollhero/ph_model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/payrollhero/ph_model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/payrollhero/ph_model/git/refs{/sha}","trees_url":"https://api.github.com/repos/payrollhero/ph_model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/payrollhero/ph_model/statuses/{sha}","languages_url":"https://api.github.com/repos/payrollhero/ph_model/languages","stargazers_url":"https://api.github.com/repos/payrollhero/ph_model/stargazers","contributors_url":"https://api.github.com/repos/payrollhero/ph_model/contributors","subscribers_url":"https://api.github.com/repos/payrollhero/ph_model/subscribers","subscription_url":"https://api.github.com/repos/payrollhero/ph_model/subscription","commits_url":"https://api.github.com/repos/payrollhero/ph_model/commits{/sha}","git_commits_url":"https://api.github.com/repos/payrollhero/ph_model/git/commits{/sha}","comments_url":"https://api.github.com/repos/payrollhero/ph_model/comments{/number}","issue_comment_url":"https://api.github.com/repos/payrollhero/ph_model/issues/comments{/number}","contents_url":"https://api.github.com/repos/payrollhero/ph_model/contents/{+path}","compare_url":"https://api.github.com/repos/payrollhero/ph_model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/payrollhero/ph_model/merges","archive_url":"https://api.github.com/repos/payrollhero/ph_model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/payrollhero/ph_model/downloads","issues_url":"https://api.github.com/repos/payrollhero/ph_model/issues{/number}","pulls_url":"https://api.github.com/repos/payrollhero/ph_model/pulls{/number}","milestones_url":"https://api.github.com/repos/payrollhero/ph_model/milestones{/number}","notifications_url":"https://api.github.com/repos/payrollhero/ph_model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/payrollhero/ph_model/labels{/name}","releases_url":"https://api.github.com/repos/payrollhero/ph_model/releases{/id}","deployments_url":"https://api.github.com/repos/payrollhero/ph_model/deployments","created_at":"2016-02-03T02:18:23Z","updated_at":"2016-02-03T02:18:23Z","pushed_at":"2016-02-03T03:07:19Z","git_url":"git://github.com/payrollhero/ph_model.git","ssh_url":"git@github.com:payrollhero/ph_model.git","clone_url":"https://github.com/payrollhero/ph_model.git","svn_url":"https://github.com/payrollhero/ph_model","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":null,"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/payrollhero/ph_model/pulls/1"},"html":{"href":"https://github.com/payrollhero/ph_model/pull/1"},"issue":{"href":"https://api.github.com/repos/payrollhero/ph_model/issues/1"},"comments":{"href":"https://api.github.com/repos/payrollhero/ph_model/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/payrollhero/ph_model/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/payrollhero/ph_model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/payrollhero/ph_model/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/payrollhero/ph_model/statuses/fcca6d8c038e2eed19d0199d9ceace49862a312c"}}}}