{"action":"created","comment":{"url":"https://api.github.com/repos/damwhit/the_pivot/pulls/comments/57836008","id":57836008,"diff_hunk":"@@ -16,4 +16,8 @@\n \n RSpec.describe Ticket, type: :model do\n   it { should belong_to :listing }\n+  it do\n+    should validate_inclusion_of(:status).\n+      in_array(['active', 'purchased', 'reserved'])","path":"spec/models/ticket_spec.rb","position":6,"original_position":6,"commit_id":"7018af3e004ca4ea1009bfa81281ccbd3e8f2a62","original_commit_id":"7018af3e004ca4ea1009bfa81281ccbd3e8f2a62","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.<br>Use `%w` or `%W` for an array of words.","created_at":"2016-03-30T04:31:57Z","updated_at":"2016-03-30T04:31:57Z","html_url":"https://github.com/damwhit/the_pivot/pull/64#discussion_r57836008","pull_request_url":"https://api.github.com/repos/damwhit/the_pivot/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/comments/57836008"},"html":{"href":"https://github.com/damwhit/the_pivot/pull/64#discussion_r57836008"},"pull_request":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/damwhit/the_pivot/pulls/64","id":64570521,"html_url":"https://github.com/damwhit/the_pivot/pull/64","diff_url":"https://github.com/damwhit/the_pivot/pull/64.diff","patch_url":"https://github.com/damwhit/the_pivot/pull/64.patch","issue_url":"https://api.github.com/repos/damwhit/the_pivot/issues/64","number":64,"state":"open","locked":false,"title":"Cancel listing#14","user":{"login":"damwhit","id":13105577,"avatar_url":"https://avatars.githubusercontent.com/u/13105577?v=3","gravatar_id":"","url":"https://api.github.com/users/damwhit","html_url":"https://github.com/damwhit","followers_url":"https://api.github.com/users/damwhit/followers","following_url":"https://api.github.com/users/damwhit/following{/other_user}","gists_url":"https://api.github.com/users/damwhit/gists{/gist_id}","starred_url":"https://api.github.com/users/damwhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damwhit/subscriptions","organizations_url":"https://api.github.com/users/damwhit/orgs","repos_url":"https://api.github.com/users/damwhit/repos","events_url":"https://api.github.com/users/damwhit/events{/privacy}","received_events_url":"https://api.github.com/users/damwhit/received_events","type":"User","site_admin":false},"body":"user is able to destroy listings for which all tickets are active and user is able to inactivate listings for which some tickets are not active.","created_at":"2016-03-30T04:31:52Z","updated_at":"2016-03-30T04:31:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c13a55e7d2ab72a8b17d68b3bf1708debd14d75","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/damwhit/the_pivot/pulls/64/commits","review_comments_url":"https://api.github.com/repos/damwhit/the_pivot/pulls/64/comments","review_comment_url":"https://api.github.com/repos/damwhit/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/damwhit/the_pivot/issues/64/comments","statuses_url":"https://api.github.com/repos/damwhit/the_pivot/statuses/7018af3e004ca4ea1009bfa81281ccbd3e8f2a62","head":{"label":"damwhit:cancel-listing#14","ref":"cancel-listing#14","sha":"7018af3e004ca4ea1009bfa81281ccbd3e8f2a62","user":{"login":"damwhit","id":13105577,"avatar_url":"https://avatars.githubusercontent.com/u/13105577?v=3","gravatar_id":"","url":"https://api.github.com/users/damwhit","html_url":"https://github.com/damwhit","followers_url":"https://api.github.com/users/damwhit/followers","following_url":"https://api.github.com/users/damwhit/following{/other_user}","gists_url":"https://api.github.com/users/damwhit/gists{/gist_id}","starred_url":"https://api.github.com/users/damwhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damwhit/subscriptions","organizations_url":"https://api.github.com/users/damwhit/orgs","repos_url":"https://api.github.com/users/damwhit/repos","events_url":"https://api.github.com/users/damwhit/events{/privacy}","received_events_url":"https://api.github.com/users/damwhit/received_events","type":"User","site_admin":false},"repo":{"id":54416830,"name":"the_pivot","full_name":"damwhit/the_pivot","owner":{"login":"damwhit","id":13105577,"avatar_url":"https://avatars.githubusercontent.com/u/13105577?v=3","gravatar_id":"","url":"https://api.github.com/users/damwhit","html_url":"https://github.com/damwhit","followers_url":"https://api.github.com/users/damwhit/followers","following_url":"https://api.github.com/users/damwhit/following{/other_user}","gists_url":"https://api.github.com/users/damwhit/gists{/gist_id}","starred_url":"https://api.github.com/users/damwhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damwhit/subscriptions","organizations_url":"https://api.github.com/users/damwhit/orgs","repos_url":"https://api.github.com/users/damwhit/repos","events_url":"https://api.github.com/users/damwhit/events{/privacy}","received_events_url":"https://api.github.com/users/damwhit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damwhit/the_pivot","description":null,"fork":false,"url":"https://api.github.com/repos/damwhit/the_pivot","forks_url":"https://api.github.com/repos/damwhit/the_pivot/forks","keys_url":"https://api.github.com/repos/damwhit/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damwhit/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damwhit/the_pivot/teams","hooks_url":"https://api.github.com/repos/damwhit/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/damwhit/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/damwhit/the_pivot/events","assignees_url":"https://api.github.com/repos/damwhit/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/damwhit/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/damwhit/the_pivot/tags","blobs_url":"https://api.github.com/repos/damwhit/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damwhit/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damwhit/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/damwhit/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damwhit/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/damwhit/the_pivot/languages","stargazers_url":"https://api.github.com/repos/damwhit/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/damwhit/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/damwhit/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/damwhit/the_pivot/subscription","commits_url":"https://api.github.com/repos/damwhit/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/damwhit/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/damwhit/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/damwhit/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/damwhit/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/damwhit/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damwhit/the_pivot/merges","archive_url":"https://api.github.com/repos/damwhit/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damwhit/the_pivot/downloads","issues_url":"https://api.github.com/repos/damwhit/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/damwhit/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/damwhit/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/damwhit/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damwhit/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/damwhit/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/damwhit/the_pivot/deployments","created_at":"2016-03-21T19:29:55Z","updated_at":"2016-03-21T19:46:29Z","pushed_at":"2016-03-30T04:31:52Z","git_url":"git://github.com/damwhit/the_pivot.git","ssh_url":"git@github.com:damwhit/the_pivot.git","clone_url":"https://github.com/damwhit/the_pivot.git","svn_url":"https://github.com/damwhit/the_pivot","homepage":null,"size":54107,"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":26,"forks":0,"open_issues":26,"watchers":0,"default_branch":"master"}},"base":{"label":"damwhit:master","ref":"master","sha":"42d68755ede2633c05e76d8de8a1922334f9e6db","user":{"login":"damwhit","id":13105577,"avatar_url":"https://avatars.githubusercontent.com/u/13105577?v=3","gravatar_id":"","url":"https://api.github.com/users/damwhit","html_url":"https://github.com/damwhit","followers_url":"https://api.github.com/users/damwhit/followers","following_url":"https://api.github.com/users/damwhit/following{/other_user}","gists_url":"https://api.github.com/users/damwhit/gists{/gist_id}","starred_url":"https://api.github.com/users/damwhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damwhit/subscriptions","organizations_url":"https://api.github.com/users/damwhit/orgs","repos_url":"https://api.github.com/users/damwhit/repos","events_url":"https://api.github.com/users/damwhit/events{/privacy}","received_events_url":"https://api.github.com/users/damwhit/received_events","type":"User","site_admin":false},"repo":{"id":54416830,"name":"the_pivot","full_name":"damwhit/the_pivot","owner":{"login":"damwhit","id":13105577,"avatar_url":"https://avatars.githubusercontent.com/u/13105577?v=3","gravatar_id":"","url":"https://api.github.com/users/damwhit","html_url":"https://github.com/damwhit","followers_url":"https://api.github.com/users/damwhit/followers","following_url":"https://api.github.com/users/damwhit/following{/other_user}","gists_url":"https://api.github.com/users/damwhit/gists{/gist_id}","starred_url":"https://api.github.com/users/damwhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damwhit/subscriptions","organizations_url":"https://api.github.com/users/damwhit/orgs","repos_url":"https://api.github.com/users/damwhit/repos","events_url":"https://api.github.com/users/damwhit/events{/privacy}","received_events_url":"https://api.github.com/users/damwhit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damwhit/the_pivot","description":null,"fork":false,"url":"https://api.github.com/repos/damwhit/the_pivot","forks_url":"https://api.github.com/repos/damwhit/the_pivot/forks","keys_url":"https://api.github.com/repos/damwhit/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damwhit/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damwhit/the_pivot/teams","hooks_url":"https://api.github.com/repos/damwhit/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/damwhit/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/damwhit/the_pivot/events","assignees_url":"https://api.github.com/repos/damwhit/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/damwhit/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/damwhit/the_pivot/tags","blobs_url":"https://api.github.com/repos/damwhit/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damwhit/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damwhit/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/damwhit/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damwhit/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/damwhit/the_pivot/languages","stargazers_url":"https://api.github.com/repos/damwhit/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/damwhit/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/damwhit/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/damwhit/the_pivot/subscription","commits_url":"https://api.github.com/repos/damwhit/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/damwhit/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/damwhit/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/damwhit/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/damwhit/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/damwhit/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damwhit/the_pivot/merges","archive_url":"https://api.github.com/repos/damwhit/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damwhit/the_pivot/downloads","issues_url":"https://api.github.com/repos/damwhit/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/damwhit/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/damwhit/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/damwhit/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damwhit/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/damwhit/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/damwhit/the_pivot/deployments","created_at":"2016-03-21T19:29:55Z","updated_at":"2016-03-21T19:46:29Z","pushed_at":"2016-03-30T04:31:52Z","git_url":"git://github.com/damwhit/the_pivot.git","ssh_url":"git@github.com:damwhit/the_pivot.git","clone_url":"https://github.com/damwhit/the_pivot.git","svn_url":"https://github.com/damwhit/the_pivot","homepage":null,"size":54107,"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":26,"forks":0,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/64"},"html":{"href":"https://github.com/damwhit/the_pivot/pull/64"},"issue":{"href":"https://api.github.com/repos/damwhit/the_pivot/issues/64"},"comments":{"href":"https://api.github.com/repos/damwhit/the_pivot/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/damwhit/the_pivot/statuses/7018af3e004ca4ea1009bfa81281ccbd3e8f2a62"}}}}