{"action":"created","comment":{"url":"https://api.github.com/repos/coopdevs/katuma/pulls/comments/79244770","id":79244770,"diff_hunk":"@@ -46,6 +58,30 @@\n   end\n end\n \n+shared_examples 'a not found request' do\n+\n+  describe 'response is not found request' do\n+\n+    it 'responds with a 404 status code' do\n+      subject\n+\n+      expect(response).to have_http_status(404)\n+    end\n+  end\n+end\n+\n+shared_examples 'a bad request' do\n+\n+  describe 'response is bad request' do","path":"spec/support/shared_examples/controllers.rb","position":37,"original_position":37,"commit_id":"1791e9c1144bbe14fbccab65189fd8e437953091","original_commit_id":"1791e9c1144bbe14fbccab65189fd8e437953091","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.","created_at":"2016-09-16T20:25:57Z","updated_at":"2016-09-16T20:25:57Z","html_url":"https://github.com/coopdevs/katuma/pull/85#discussion_r79244770","pull_request_url":"https://api.github.com/repos/coopdevs/katuma/pulls/85","_links":{"self":{"href":"https://api.github.com/repos/coopdevs/katuma/pulls/comments/79244770"},"html":{"href":"https://github.com/coopdevs/katuma/pull/85#discussion_r79244770"},"pull_request":{"href":"https://api.github.com/repos/coopdevs/katuma/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/coopdevs/katuma/pulls/85","id":69138147,"html_url":"https://github.com/coopdevs/katuma/pull/85","diff_url":"https://github.com/coopdevs/katuma/pull/85.diff","patch_url":"https://github.com/coopdevs/katuma/pull/85.patch","issue_url":"https://api.github.com/repos/coopdevs/katuma/issues/85","number":85,"state":"open","locked":false,"title":"Producers and suppliers basic needs","user":{"login":"enricostano","id":748971,"avatar_url":"https://avatars.githubusercontent.com/u/748971?v=3","gravatar_id":"","url":"https://api.github.com/users/enricostano","html_url":"https://github.com/enricostano","followers_url":"https://api.github.com/users/enricostano/followers","following_url":"https://api.github.com/users/enricostano/following{/other_user}","gists_url":"https://api.github.com/users/enricostano/gists{/gist_id}","starred_url":"https://api.github.com/users/enricostano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enricostano/subscriptions","organizations_url":"https://api.github.com/users/enricostano/orgs","repos_url":"https://api.github.com/users/enricostano/repos","events_url":"https://api.github.com/users/enricostano/events{/privacy}","received_events_url":"https://api.github.com/users/enricostano/received_events","type":"User","site_admin":false},"body":"### WAT\r\n\r\n**BEWARE: PIRACY AHEAD**\r\n\r\n@sauloperez has been working on `Producers` and `Suppliers` endpoints as separated PRs. The point is that there is some inter-dependency between the two engines so I'm trying to move this forward to make it work. After we'll be able to introduce all the nice things that @sauloperez was introducing like `SuppliersFinder` etc.\r\n\r\n### GIF\r\n![](https://media.giphy.com/media/vT6qlTWOWYzZK/giphy.gif)","created_at":"2016-05-06T11:27:18Z","updated_at":"2016-09-16T20:25:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60ba58a5531209021cb69a766833a82b63a4ea34","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/coopdevs/katuma/pulls/85/commits","review_comments_url":"https://api.github.com/repos/coopdevs/katuma/pulls/85/comments","review_comment_url":"https://api.github.com/repos/coopdevs/katuma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coopdevs/katuma/issues/85/comments","statuses_url":"https://api.github.com/repos/coopdevs/katuma/statuses/1791e9c1144bbe14fbccab65189fd8e437953091","head":{"label":"coopdevs:producers-and-suppliers-basic-needs","ref":"producers-and-suppliers-basic-needs","sha":"1791e9c1144bbe14fbccab65189fd8e437953091","user":{"login":"coopdevs","id":4038308,"avatar_url":"https://avatars.githubusercontent.com/u/4038308?v=3","gravatar_id":"","url":"https://api.github.com/users/coopdevs","html_url":"https://github.com/coopdevs","followers_url":"https://api.github.com/users/coopdevs/followers","following_url":"https://api.github.com/users/coopdevs/following{/other_user}","gists_url":"https://api.github.com/users/coopdevs/gists{/gist_id}","starred_url":"https://api.github.com/users/coopdevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coopdevs/subscriptions","organizations_url":"https://api.github.com/users/coopdevs/orgs","repos_url":"https://api.github.com/users/coopdevs/repos","events_url":"https://api.github.com/users/coopdevs/events{/privacy}","received_events_url":"https://api.github.com/users/coopdevs/received_events","type":"Organization","site_admin":false},"repo":{"id":9176730,"name":"katuma","full_name":"coopdevs/katuma","owner":{"login":"coopdevs","id":4038308,"avatar_url":"https://avatars.githubusercontent.com/u/4038308?v=3","gravatar_id":"","url":"https://api.github.com/users/coopdevs","html_url":"https://github.com/coopdevs","followers_url":"https://api.github.com/users/coopdevs/followers","following_url":"https://api.github.com/users/coopdevs/following{/other_user}","gists_url":"https://api.github.com/users/coopdevs/gists{/gist_id}","starred_url":"https://api.github.com/users/coopdevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coopdevs/subscriptions","organizations_url":"https://api.github.com/users/coopdevs/orgs","repos_url":"https://api.github.com/users/coopdevs/repos","events_url":"https://api.github.com/users/coopdevs/events{/privacy}","received_events_url":"https://api.github.com/users/coopdevs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coopdevs/katuma","description":"Katuma backend API","fork":false,"url":"https://api.github.com/repos/coopdevs/katuma","forks_url":"https://api.github.com/repos/coopdevs/katuma/forks","keys_url":"https://api.github.com/repos/coopdevs/katuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coopdevs/katuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coopdevs/katuma/teams","hooks_url":"https://api.github.com/repos/coopdevs/katuma/hooks","issue_events_url":"https://api.github.com/repos/coopdevs/katuma/issues/events{/number}","events_url":"https://api.github.com/repos/coopdevs/katuma/events","assignees_url":"https://api.github.com/repos/coopdevs/katuma/assignees{/user}","branches_url":"https://api.github.com/repos/coopdevs/katuma/branches{/branch}","tags_url":"https://api.github.com/repos/coopdevs/katuma/tags","blobs_url":"https://api.github.com/repos/coopdevs/katuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coopdevs/katuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coopdevs/katuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/coopdevs/katuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coopdevs/katuma/statuses/{sha}","languages_url":"https://api.github.com/repos/coopdevs/katuma/languages","stargazers_url":"https://api.github.com/repos/coopdevs/katuma/stargazers","contributors_url":"https://api.github.com/repos/coopdevs/katuma/contributors","subscribers_url":"https://api.github.com/repos/coopdevs/katuma/subscribers","subscription_url":"https://api.github.com/repos/coopdevs/katuma/subscription","commits_url":"https://api.github.com/repos/coopdevs/katuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/coopdevs/katuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/coopdevs/katuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/coopdevs/katuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/coopdevs/katuma/contents/{+path}","compare_url":"https://api.github.com/repos/coopdevs/katuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coopdevs/katuma/merges","archive_url":"https://api.github.com/repos/coopdevs/katuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coopdevs/katuma/downloads","issues_url":"https://api.github.com/repos/coopdevs/katuma/issues{/number}","pulls_url":"https://api.github.com/repos/coopdevs/katuma/pulls{/number}","milestones_url":"https://api.github.com/repos/coopdevs/katuma/milestones{/number}","notifications_url":"https://api.github.com/repos/coopdevs/katuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coopdevs/katuma/labels{/name}","releases_url":"https://api.github.com/repos/coopdevs/katuma/releases{/id}","deployments_url":"https://api.github.com/repos/coopdevs/katuma/deployments","created_at":"2013-04-02T18:20:14Z","updated_at":"2016-07-19T15:14:56Z","pushed_at":"2016-09-16T20:25:20Z","git_url":"git://github.com/coopdevs/katuma.git","ssh_url":"git@github.com:coopdevs/katuma.git","clone_url":"https://github.com/coopdevs/katuma.git","svn_url":"https://github.com/coopdevs/katuma","homepage":"http://www.katuma.org","size":1912,"stargazers_count":15,"watchers_count":15,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":8,"forks":8,"open_issues":8,"watchers":15,"default_branch":"develop"}},"base":{"label":"coopdevs:develop","ref":"develop","sha":"36d57b25a363414b38d1c387b5b92652591643ab","user":{"login":"coopdevs","id":4038308,"avatar_url":"https://avatars.githubusercontent.com/u/4038308?v=3","gravatar_id":"","url":"https://api.github.com/users/coopdevs","html_url":"https://github.com/coopdevs","followers_url":"https://api.github.com/users/coopdevs/followers","following_url":"https://api.github.com/users/coopdevs/following{/other_user}","gists_url":"https://api.github.com/users/coopdevs/gists{/gist_id}","starred_url":"https://api.github.com/users/coopdevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coopdevs/subscriptions","organizations_url":"https://api.github.com/users/coopdevs/orgs","repos_url":"https://api.github.com/users/coopdevs/repos","events_url":"https://api.github.com/users/coopdevs/events{/privacy}","received_events_url":"https://api.github.com/users/coopdevs/received_events","type":"Organization","site_admin":false},"repo":{"id":9176730,"name":"katuma","full_name":"coopdevs/katuma","owner":{"login":"coopdevs","id":4038308,"avatar_url":"https://avatars.githubusercontent.com/u/4038308?v=3","gravatar_id":"","url":"https://api.github.com/users/coopdevs","html_url":"https://github.com/coopdevs","followers_url":"https://api.github.com/users/coopdevs/followers","following_url":"https://api.github.com/users/coopdevs/following{/other_user}","gists_url":"https://api.github.com/users/coopdevs/gists{/gist_id}","starred_url":"https://api.github.com/users/coopdevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coopdevs/subscriptions","organizations_url":"https://api.github.com/users/coopdevs/orgs","repos_url":"https://api.github.com/users/coopdevs/repos","events_url":"https://api.github.com/users/coopdevs/events{/privacy}","received_events_url":"https://api.github.com/users/coopdevs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coopdevs/katuma","description":"Katuma backend API","fork":false,"url":"https://api.github.com/repos/coopdevs/katuma","forks_url":"https://api.github.com/repos/coopdevs/katuma/forks","keys_url":"https://api.github.com/repos/coopdevs/katuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coopdevs/katuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coopdevs/katuma/teams","hooks_url":"https://api.github.com/repos/coopdevs/katuma/hooks","issue_events_url":"https://api.github.com/repos/coopdevs/katuma/issues/events{/number}","events_url":"https://api.github.com/repos/coopdevs/katuma/events","assignees_url":"https://api.github.com/repos/coopdevs/katuma/assignees{/user}","branches_url":"https://api.github.com/repos/coopdevs/katuma/branches{/branch}","tags_url":"https://api.github.com/repos/coopdevs/katuma/tags","blobs_url":"https://api.github.com/repos/coopdevs/katuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coopdevs/katuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coopdevs/katuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/coopdevs/katuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coopdevs/katuma/statuses/{sha}","languages_url":"https://api.github.com/repos/coopdevs/katuma/languages","stargazers_url":"https://api.github.com/repos/coopdevs/katuma/stargazers","contributors_url":"https://api.github.com/repos/coopdevs/katuma/contributors","subscribers_url":"https://api.github.com/repos/coopdevs/katuma/subscribers","subscription_url":"https://api.github.com/repos/coopdevs/katuma/subscription","commits_url":"https://api.github.com/repos/coopdevs/katuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/coopdevs/katuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/coopdevs/katuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/coopdevs/katuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/coopdevs/katuma/contents/{+path}","compare_url":"https://api.github.com/repos/coopdevs/katuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coopdevs/katuma/merges","archive_url":"https://api.github.com/repos/coopdevs/katuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coopdevs/katuma/downloads","issues_url":"https://api.github.com/repos/coopdevs/katuma/issues{/number}","pulls_url":"https://api.github.com/repos/coopdevs/katuma/pulls{/number}","milestones_url":"https://api.github.com/repos/coopdevs/katuma/milestones{/number}","notifications_url":"https://api.github.com/repos/coopdevs/katuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coopdevs/katuma/labels{/name}","releases_url":"https://api.github.com/repos/coopdevs/katuma/releases{/id}","deployments_url":"https://api.github.com/repos/coopdevs/katuma/deployments","created_at":"2013-04-02T18:20:14Z","updated_at":"2016-07-19T15:14:56Z","pushed_at":"2016-09-16T20:25:20Z","git_url":"git://github.com/coopdevs/katuma.git","ssh_url":"git@github.com:coopdevs/katuma.git","clone_url":"https://github.com/coopdevs/katuma.git","svn_url":"https://github.com/coopdevs/katuma","homepage":"http://www.katuma.org","size":1912,"stargazers_count":15,"watchers_count":15,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":8,"forks":8,"open_issues":8,"watchers":15,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/coopdevs/katuma/pulls/85"},"html":{"href":"https://github.com/coopdevs/katuma/pull/85"},"issue":{"href":"https://api.github.com/repos/coopdevs/katuma/issues/85"},"comments":{"href":"https://api.github.com/repos/coopdevs/katuma/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/coopdevs/katuma/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/coopdevs/katuma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coopdevs/katuma/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/coopdevs/katuma/statuses/1791e9c1144bbe14fbccab65189fd8e437953091"}}}}
{"actor":{"display_login":"houndci-bot"}}