{"action":"created","comment":{"url":"https://api.github.com/repos/inaka/erlang-katana/pulls/comments/28145566","id":28145566,"diff_hunk":"@@ -0,0 +1,85 @@\n+-module(ktn_test_utils).\n+\n+-export(\n+  [ assert_response/4\n+  , test_response/4\n+  ]).\n+\n+-type test_subject() :: status | headers | body.\n+-type match_type()   :: exact | partial.\n+\n+-spec assert_response(test_subject(), match_type(), map(), chtc:response()) -> ok.","path":"src/ktn_test_utils.erl","position":11,"original_position":11,"commit_id":"d3de2c649f961f5e5c1dcca74046511f268ece10","original_commit_id":"d3de2c649f961f5e5c1dcca74046511f268ece10","user":{"login":"gadgetci","id":10134338,"avatar_url":"https://avatars.githubusercontent.com/u/10134338?v=3","gravatar_id":"","url":"https://api.github.com/users/gadgetci","html_url":"https://github.com/gadgetci","followers_url":"https://api.github.com/users/gadgetci/followers","following_url":"https://api.github.com/users/gadgetci/following{/other_user}","gists_url":"https://api.github.com/users/gadgetci/gists{/gist_id}","starred_url":"https://api.github.com/users/gadgetci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadgetci/subscriptions","organizations_url":"https://api.github.com/users/gadgetci/orgs","repos_url":"https://api.github.com/users/gadgetci/repos","events_url":"https://api.github.com/users/gadgetci/events{/privacy}","received_events_url":"https://api.github.com/users/gadgetci/received_events","type":"User","site_admin":false},"body":"According to **Elvis**:\n> Line 11 is too long: -spec assert_response(test_subject(), match_type(), map(), chtc:response()) -> ok..","created_at":"2015-04-10T13:53:09Z","updated_at":"2015-04-10T13:53:09Z","html_url":"https://github.com/inaka/erlang-katana/pull/41#discussion_r28145566","pull_request_url":"https://api.github.com/repos/inaka/erlang-katana/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/inaka/erlang-katana/pulls/comments/28145566"},"html":{"href":"https://github.com/inaka/erlang-katana/pull/41#discussion_r28145566"},"pull_request":{"href":"https://api.github.com/repos/inaka/erlang-katana/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/inaka/erlang-katana/pulls/41","id":33002018,"html_url":"https://github.com/inaka/erlang-katana/pull/41","diff_url":"https://github.com/inaka/erlang-katana/pull/41.diff","patch_url":"https://github.com/inaka/erlang-katana/pull/41.patch","issue_url":"https://api.github.com/repos/inaka/erlang-katana/issues/41","number":41,"state":"open","locked":false,"title":"Test utilities for REST APIs","user":{"login":"igaray","id":167193,"avatar_url":"https://avatars.githubusercontent.com/u/167193?v=3","gravatar_id":"","url":"https://api.github.com/users/igaray","html_url":"https://github.com/igaray","followers_url":"https://api.github.com/users/igaray/followers","following_url":"https://api.github.com/users/igaray/following{/other_user}","gists_url":"https://api.github.com/users/igaray/gists{/gist_id}","starred_url":"https://api.github.com/users/igaray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igaray/subscriptions","organizations_url":"https://api.github.com/users/igaray/orgs","repos_url":"https://api.github.com/users/igaray/repos","events_url":"https://api.github.com/users/igaray/events{/privacy}","received_events_url":"https://api.github.com/users/igaray/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-09T22:17:42Z","updated_at":"2015-04-10T13:53:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25eb3be6a834ac268c55e9ddc8d9f796fbf5c08a","assignee":{"login":"elbrujohalcon","id":93657,"avatar_url":"https://avatars.githubusercontent.com/u/93657?v=3","gravatar_id":"","url":"https://api.github.com/users/elbrujohalcon","html_url":"https://github.com/elbrujohalcon","followers_url":"https://api.github.com/users/elbrujohalcon/followers","following_url":"https://api.github.com/users/elbrujohalcon/following{/other_user}","gists_url":"https://api.github.com/users/elbrujohalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/elbrujohalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbrujohalcon/subscriptions","organizations_url":"https://api.github.com/users/elbrujohalcon/orgs","repos_url":"https://api.github.com/users/elbrujohalcon/repos","events_url":"https://api.github.com/users/elbrujohalcon/events{/privacy}","received_events_url":"https://api.github.com/users/elbrujohalcon/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/inaka/erlang-katana/pulls/41/commits","review_comments_url":"https://api.github.com/repos/inaka/erlang-katana/pulls/41/comments","review_comment_url":"https://api.github.com/repos/inaka/erlang-katana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inaka/erlang-katana/issues/41/comments","statuses_url":"https://api.github.com/repos/inaka/erlang-katana/statuses/d3de2c649f961f5e5c1dcca74046511f268ece10","head":{"label":"inaka:igaray.test_utils","ref":"igaray.test_utils","sha":"d3de2c649f961f5e5c1dcca74046511f268ece10","user":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"repo":{"id":22760152,"name":"erlang-katana","full_name":"inaka/erlang-katana","owner":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inaka/erlang-katana","description":"Erlang grab bag of useful functions. it should have been called swiss army knife but katanas are deadlier","fork":true,"url":"https://api.github.com/repos/inaka/erlang-katana","forks_url":"https://api.github.com/repos/inaka/erlang-katana/forks","keys_url":"https://api.github.com/repos/inaka/erlang-katana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inaka/erlang-katana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inaka/erlang-katana/teams","hooks_url":"https://api.github.com/repos/inaka/erlang-katana/hooks","issue_events_url":"https://api.github.com/repos/inaka/erlang-katana/issues/events{/number}","events_url":"https://api.github.com/repos/inaka/erlang-katana/events","assignees_url":"https://api.github.com/repos/inaka/erlang-katana/assignees{/user}","branches_url":"https://api.github.com/repos/inaka/erlang-katana/branches{/branch}","tags_url":"https://api.github.com/repos/inaka/erlang-katana/tags","blobs_url":"https://api.github.com/repos/inaka/erlang-katana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inaka/erlang-katana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inaka/erlang-katana/git/refs{/sha}","trees_url":"https://api.github.com/repos/inaka/erlang-katana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inaka/erlang-katana/statuses/{sha}","languages_url":"https://api.github.com/repos/inaka/erlang-katana/languages","stargazers_url":"https://api.github.com/repos/inaka/erlang-katana/stargazers","contributors_url":"https://api.github.com/repos/inaka/erlang-katana/contributors","subscribers_url":"https://api.github.com/repos/inaka/erlang-katana/subscribers","subscription_url":"https://api.github.com/repos/inaka/erlang-katana/subscription","commits_url":"https://api.github.com/repos/inaka/erlang-katana/commits{/sha}","git_commits_url":"https://api.github.com/repos/inaka/erlang-katana/git/commits{/sha}","comments_url":"https://api.github.com/repos/inaka/erlang-katana/comments{/number}","issue_comment_url":"https://api.github.com/repos/inaka/erlang-katana/issues/comments{/number}","contents_url":"https://api.github.com/repos/inaka/erlang-katana/contents/{+path}","compare_url":"https://api.github.com/repos/inaka/erlang-katana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inaka/erlang-katana/merges","archive_url":"https://api.github.com/repos/inaka/erlang-katana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inaka/erlang-katana/downloads","issues_url":"https://api.github.com/repos/inaka/erlang-katana/issues{/number}","pulls_url":"https://api.github.com/repos/inaka/erlang-katana/pulls{/number}","milestones_url":"https://api.github.com/repos/inaka/erlang-katana/milestones{/number}","notifications_url":"https://api.github.com/repos/inaka/erlang-katana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inaka/erlang-katana/labels{/name}","releases_url":"https://api.github.com/repos/inaka/erlang-katana/releases{/id}","created_at":"2014-08-08T14:20:25Z","updated_at":"2015-04-08T23:41:14Z","pushed_at":"2015-04-10T13:53:08Z","git_url":"git://github.com/inaka/erlang-katana.git","ssh_url":"git@github.com:inaka/erlang-katana.git","clone_url":"https://github.com/inaka/erlang-katana.git","svn_url":"https://github.com/inaka/erlang-katana","homepage":"","size":880,"stargazers_count":19,"watchers_count":19,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":19,"default_branch":"master"}},"base":{"label":"inaka:master","ref":"master","sha":"46727df549e86ddbfca93092a3d48f1f64ca5765","user":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"repo":{"id":22760152,"name":"erlang-katana","full_name":"inaka/erlang-katana","owner":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inaka/erlang-katana","description":"Erlang grab bag of useful functions. it should have been called swiss army knife but katanas are deadlier","fork":true,"url":"https://api.github.com/repos/inaka/erlang-katana","forks_url":"https://api.github.com/repos/inaka/erlang-katana/forks","keys_url":"https://api.github.com/repos/inaka/erlang-katana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inaka/erlang-katana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inaka/erlang-katana/teams","hooks_url":"https://api.github.com/repos/inaka/erlang-katana/hooks","issue_events_url":"https://api.github.com/repos/inaka/erlang-katana/issues/events{/number}","events_url":"https://api.github.com/repos/inaka/erlang-katana/events","assignees_url":"https://api.github.com/repos/inaka/erlang-katana/assignees{/user}","branches_url":"https://api.github.com/repos/inaka/erlang-katana/branches{/branch}","tags_url":"https://api.github.com/repos/inaka/erlang-katana/tags","blobs_url":"https://api.github.com/repos/inaka/erlang-katana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inaka/erlang-katana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inaka/erlang-katana/git/refs{/sha}","trees_url":"https://api.github.com/repos/inaka/erlang-katana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inaka/erlang-katana/statuses/{sha}","languages_url":"https://api.github.com/repos/inaka/erlang-katana/languages","stargazers_url":"https://api.github.com/repos/inaka/erlang-katana/stargazers","contributors_url":"https://api.github.com/repos/inaka/erlang-katana/contributors","subscribers_url":"https://api.github.com/repos/inaka/erlang-katana/subscribers","subscription_url":"https://api.github.com/repos/inaka/erlang-katana/subscription","commits_url":"https://api.github.com/repos/inaka/erlang-katana/commits{/sha}","git_commits_url":"https://api.github.com/repos/inaka/erlang-katana/git/commits{/sha}","comments_url":"https://api.github.com/repos/inaka/erlang-katana/comments{/number}","issue_comment_url":"https://api.github.com/repos/inaka/erlang-katana/issues/comments{/number}","contents_url":"https://api.github.com/repos/inaka/erlang-katana/contents/{+path}","compare_url":"https://api.github.com/repos/inaka/erlang-katana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inaka/erlang-katana/merges","archive_url":"https://api.github.com/repos/inaka/erlang-katana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inaka/erlang-katana/downloads","issues_url":"https://api.github.com/repos/inaka/erlang-katana/issues{/number}","pulls_url":"https://api.github.com/repos/inaka/erlang-katana/pulls{/number}","milestones_url":"https://api.github.com/repos/inaka/erlang-katana/milestones{/number}","notifications_url":"https://api.github.com/repos/inaka/erlang-katana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inaka/erlang-katana/labels{/name}","releases_url":"https://api.github.com/repos/inaka/erlang-katana/releases{/id}","created_at":"2014-08-08T14:20:25Z","updated_at":"2015-04-08T23:41:14Z","pushed_at":"2015-04-10T13:53:08Z","git_url":"git://github.com/inaka/erlang-katana.git","ssh_url":"git@github.com:inaka/erlang-katana.git","clone_url":"https://github.com/inaka/erlang-katana.git","svn_url":"https://github.com/inaka/erlang-katana","homepage":"","size":880,"stargazers_count":19,"watchers_count":19,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inaka/erlang-katana/pulls/41"},"html":{"href":"https://github.com/inaka/erlang-katana/pull/41"},"issue":{"href":"https://api.github.com/repos/inaka/erlang-katana/issues/41"},"comments":{"href":"https://api.github.com/repos/inaka/erlang-katana/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/inaka/erlang-katana/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/inaka/erlang-katana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inaka/erlang-katana/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/inaka/erlang-katana/statuses/d3de2c649f961f5e5c1dcca74046511f268ece10"}}}}