{"action":"closed","number":156,"pull_request":{"url":"https://api.github.com/repos/apiaryio/dredd/pulls/156","id":30093790,"html_url":"https://github.com/apiaryio/dredd/pull/156","diff_url":"https://github.com/apiaryio/dredd/pull/156.diff","patch_url":"https://github.com/apiaryio/dredd/pull/156.patch","issue_url":"https://api.github.com/repos/apiaryio/dredd/issues/156","number":156,"state":"closed","locked":false,"title":"Feature: Custom user assertions in hooks to fail a transaction","user":{"login":"netmilk","id":79609,"avatar_url":"https://avatars.githubusercontent.com/u/79609?v=3","gravatar_id":"","url":"https://api.github.com/users/netmilk","html_url":"https://github.com/netmilk","followers_url":"https://api.github.com/users/netmilk/followers","following_url":"https://api.github.com/users/netmilk/following{/other_user}","gists_url":"https://api.github.com/users/netmilk/gists{/gist_id}","starred_url":"https://api.github.com/users/netmilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netmilk/subscriptions","organizations_url":"https://api.github.com/users/netmilk/orgs","repos_url":"https://api.github.com/users/netmilk/repos","events_url":"https://api.github.com/users/netmilk/events{/privacy}","received_events_url":"https://api.github.com/users/netmilk/received_events","type":"User","site_admin":false},"body":"- ability to fail a transaction in a hook\r\n- get rid with `advisable` in hook's infrastructure, it does not work with `sinon`\r\n- support for writing custom assertions with `chai`","created_at":"2015-02-26T16:42:17Z","updated_at":"2015-02-27T17:02:36Z","closed_at":"2015-02-27T17:02:36Z","merged_at":"2015-02-27T17:02:36Z","merge_commit_sha":"650cd76f4e1dd8be2391464cbbb69befe3644e2c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apiaryio/dredd/pulls/156/commits","review_comments_url":"https://api.github.com/repos/apiaryio/dredd/pulls/156/comments","review_comment_url":"https://api.github.com/repos/apiaryio/dredd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apiaryio/dredd/issues/156/comments","statuses_url":"https://api.github.com/repos/apiaryio/dredd/statuses/665fa5db816e96f74faaaf5a08529560cfa93223","head":{"label":"apiaryio:netmilk/fail-transaction-programatically","ref":"netmilk/fail-transaction-programatically","sha":"665fa5db816e96f74faaaf5a08529560cfa93223","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":12590052,"name":"dredd","full_name":"apiaryio/dredd","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/dredd","description":"API Blueprint testing tool","fork":false,"url":"https://api.github.com/repos/apiaryio/dredd","forks_url":"https://api.github.com/repos/apiaryio/dredd/forks","keys_url":"https://api.github.com/repos/apiaryio/dredd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/dredd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/dredd/teams","hooks_url":"https://api.github.com/repos/apiaryio/dredd/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/dredd/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/dredd/events","assignees_url":"https://api.github.com/repos/apiaryio/dredd/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/dredd/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/dredd/tags","blobs_url":"https://api.github.com/repos/apiaryio/dredd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/dredd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/dredd/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/dredd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/dredd/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/dredd/languages","stargazers_url":"https://api.github.com/repos/apiaryio/dredd/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/dredd/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/dredd/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/dredd/subscription","commits_url":"https://api.github.com/repos/apiaryio/dredd/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/dredd/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/dredd/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/dredd/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/dredd/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/dredd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/dredd/merges","archive_url":"https://api.github.com/repos/apiaryio/dredd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/dredd/downloads","issues_url":"https://api.github.com/repos/apiaryio/dredd/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/dredd/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/dredd/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/dredd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/dredd/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/dredd/releases{/id}","created_at":"2013-09-04T12:21:35Z","updated_at":"2015-02-27T15:37:41Z","pushed_at":"2015-02-27T17:02:36Z","git_url":"git://github.com/apiaryio/dredd.git","ssh_url":"git@github.com:apiaryio/dredd.git","clone_url":"https://github.com/apiaryio/dredd.git","svn_url":"https://github.com/apiaryio/dredd","homepage":null,"size":2056,"stargazers_count":397,"watchers_count":397,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":32,"mirror_url":null,"open_issues_count":26,"forks":32,"open_issues":26,"watchers":397,"default_branch":"master"}},"base":{"label":"apiaryio:master","ref":"master","sha":"235d1695e6f0bd27abcbeb0134e637980a7a139c","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":12590052,"name":"dredd","full_name":"apiaryio/dredd","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/dredd","description":"API Blueprint testing tool","fork":false,"url":"https://api.github.com/repos/apiaryio/dredd","forks_url":"https://api.github.com/repos/apiaryio/dredd/forks","keys_url":"https://api.github.com/repos/apiaryio/dredd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/dredd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/dredd/teams","hooks_url":"https://api.github.com/repos/apiaryio/dredd/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/dredd/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/dredd/events","assignees_url":"https://api.github.com/repos/apiaryio/dredd/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/dredd/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/dredd/tags","blobs_url":"https://api.github.com/repos/apiaryio/dredd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/dredd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/dredd/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/dredd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/dredd/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/dredd/languages","stargazers_url":"https://api.github.com/repos/apiaryio/dredd/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/dredd/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/dredd/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/dredd/subscription","commits_url":"https://api.github.com/repos/apiaryio/dredd/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/dredd/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/dredd/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/dredd/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/dredd/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/dredd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/dredd/merges","archive_url":"https://api.github.com/repos/apiaryio/dredd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/dredd/downloads","issues_url":"https://api.github.com/repos/apiaryio/dredd/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/dredd/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/dredd/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/dredd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/dredd/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/dredd/releases{/id}","created_at":"2013-09-04T12:21:35Z","updated_at":"2015-02-27T15:37:41Z","pushed_at":"2015-02-27T17:02:36Z","git_url":"git://github.com/apiaryio/dredd.git","ssh_url":"git@github.com:apiaryio/dredd.git","clone_url":"https://github.com/apiaryio/dredd.git","svn_url":"https://github.com/apiaryio/dredd","homepage":null,"size":2056,"stargazers_count":397,"watchers_count":397,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":32,"mirror_url":null,"open_issues_count":26,"forks":32,"open_issues":26,"watchers":397,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apiaryio/dredd/pulls/156"},"html":{"href":"https://github.com/apiaryio/dredd/pull/156"},"issue":{"href":"https://api.github.com/repos/apiaryio/dredd/issues/156"},"comments":{"href":"https://api.github.com/repos/apiaryio/dredd/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/apiaryio/dredd/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/apiaryio/dredd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apiaryio/dredd/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/apiaryio/dredd/statuses/665fa5db816e96f74faaaf5a08529560cfa93223"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kuba-kubula","id":136198,"avatar_url":"https://avatars.githubusercontent.com/u/136198?v=3","gravatar_id":"","url":"https://api.github.com/users/kuba-kubula","html_url":"https://github.com/kuba-kubula","followers_url":"https://api.github.com/users/kuba-kubula/followers","following_url":"https://api.github.com/users/kuba-kubula/following{/other_user}","gists_url":"https://api.github.com/users/kuba-kubula/gists{/gist_id}","starred_url":"https://api.github.com/users/kuba-kubula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuba-kubula/subscriptions","organizations_url":"https://api.github.com/users/kuba-kubula/orgs","repos_url":"https://api.github.com/users/kuba-kubula/repos","events_url":"https://api.github.com/users/kuba-kubula/events{/privacy}","received_events_url":"https://api.github.com/users/kuba-kubula/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"commits":13,"additions":652,"deletions":348,"changed_files":8}}