{"action":"created","comment":{"url":"https://api.github.com/repos/adfink/dinner_dash/pulls/comments/33099738","id":33099738,"diff_hunk":"@@ -48,4 +48,25 @@\n \n     expect(item).not_to be_valid\n   end\n+\n+  it \"responds with a collection of its categories\" do\n+    expect(item).to respond_to(:categories)\n+  end\n+\n+  it \"responds with a collection of its orders\" do\n+    expect(item).to respond_to(:orders)\n+  end\n+\n+  it \"responds with a collection of its order_items\" do\n+    expect(item).to respond_to(:order_items)\n+  end\n+\n+  it \"can search the items by multiple terms\" do\n+    Item.create(title: 'jerky', description: 'dry meat', price: 4.00)\n+    Item.create(title: 'berries', description: 'sweet fruit', price: 4.00)\n+    Item.create(title: 'corn', description: 'yellow and sweet', price: 4.00)","path":"spec/models/item_spec.rb","position":20,"original_position":20,"commit_id":"ba965dc0975f8719e6cd20c78bb10c8733fa9ecf","original_commit_id":"ba965dc0975f8719e6cd20c78bb10c8733fa9ecf","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-06-23T22:20:48Z","updated_at":"2015-06-23T22:20:48Z","html_url":"https://github.com/adfink/dinner_dash/pull/75#discussion_r33099738","pull_request_url":"https://api.github.com/repos/adfink/dinner_dash/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/adfink/dinner_dash/pulls/comments/33099738"},"html":{"href":"https://github.com/adfink/dinner_dash/pull/75#discussion_r33099738"},"pull_request":{"href":"https://api.github.com/repos/adfink/dinner_dash/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/adfink/dinner_dash/pulls/75","id":38389584,"html_url":"https://github.com/adfink/dinner_dash/pull/75","diff_url":"https://github.com/adfink/dinner_dash/pull/75.diff","patch_url":"https://github.com/adfink/dinner_dash/pull/75.patch","issue_url":"https://api.github.com/repos/adfink/dinner_dash/issues/75","number":75,"state":"open","locked":false,"title":"Safety","user":{"login":"brettgrigsby","id":8657755,"avatar_url":"https://avatars.githubusercontent.com/u/8657755?v=3","gravatar_id":"","url":"https://api.github.com/users/brettgrigsby","html_url":"https://github.com/brettgrigsby","followers_url":"https://api.github.com/users/brettgrigsby/followers","following_url":"https://api.github.com/users/brettgrigsby/following{/other_user}","gists_url":"https://api.github.com/users/brettgrigsby/gists{/gist_id}","starred_url":"https://api.github.com/users/brettgrigsby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettgrigsby/subscriptions","organizations_url":"https://api.github.com/users/brettgrigsby/orgs","repos_url":"https://api.github.com/users/brettgrigsby/repos","events_url":"https://api.github.com/users/brettgrigsby/events{/privacy}","received_events_url":"https://api.github.com/users/brettgrigsby/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-23T22:20:45Z","updated_at":"2015-06-23T22:20:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69bb247fed3a31ac5cff48a2d4efffb87391f4b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adfink/dinner_dash/pulls/75/commits","review_comments_url":"https://api.github.com/repos/adfink/dinner_dash/pulls/75/comments","review_comment_url":"https://api.github.com/repos/adfink/dinner_dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adfink/dinner_dash/issues/75/comments","statuses_url":"https://api.github.com/repos/adfink/dinner_dash/statuses/ba965dc0975f8719e6cd20c78bb10c8733fa9ecf","head":{"label":"adfink:safety","ref":"safety","sha":"ba965dc0975f8719e6cd20c78bb10c8733fa9ecf","user":{"login":"adfink","id":10395328,"avatar_url":"https://avatars.githubusercontent.com/u/10395328?v=3","gravatar_id":"","url":"https://api.github.com/users/adfink","html_url":"https://github.com/adfink","followers_url":"https://api.github.com/users/adfink/followers","following_url":"https://api.github.com/users/adfink/following{/other_user}","gists_url":"https://api.github.com/users/adfink/gists{/gist_id}","starred_url":"https://api.github.com/users/adfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adfink/subscriptions","organizations_url":"https://api.github.com/users/adfink/orgs","repos_url":"https://api.github.com/users/adfink/repos","events_url":"https://api.github.com/users/adfink/events{/privacy}","received_events_url":"https://api.github.com/users/adfink/received_events","type":"User","site_admin":false},"repo":{"id":37473820,"name":"dinner_dash","full_name":"adfink/dinner_dash","owner":{"login":"adfink","id":10395328,"avatar_url":"https://avatars.githubusercontent.com/u/10395328?v=3","gravatar_id":"","url":"https://api.github.com/users/adfink","html_url":"https://github.com/adfink","followers_url":"https://api.github.com/users/adfink/followers","following_url":"https://api.github.com/users/adfink/following{/other_user}","gists_url":"https://api.github.com/users/adfink/gists{/gist_id}","starred_url":"https://api.github.com/users/adfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adfink/subscriptions","organizations_url":"https://api.github.com/users/adfink/orgs","repos_url":"https://api.github.com/users/adfink/repos","events_url":"https://api.github.com/users/adfink/events{/privacy}","received_events_url":"https://api.github.com/users/adfink/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adfink/dinner_dash","description":null,"fork":false,"url":"https://api.github.com/repos/adfink/dinner_dash","forks_url":"https://api.github.com/repos/adfink/dinner_dash/forks","keys_url":"https://api.github.com/repos/adfink/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adfink/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adfink/dinner_dash/teams","hooks_url":"https://api.github.com/repos/adfink/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/adfink/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/adfink/dinner_dash/events","assignees_url":"https://api.github.com/repos/adfink/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/adfink/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/adfink/dinner_dash/tags","blobs_url":"https://api.github.com/repos/adfink/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adfink/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adfink/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/adfink/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adfink/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/adfink/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/adfink/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/adfink/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/adfink/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/adfink/dinner_dash/subscription","commits_url":"https://api.github.com/repos/adfink/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/adfink/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/adfink/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/adfink/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/adfink/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/adfink/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adfink/dinner_dash/merges","archive_url":"https://api.github.com/repos/adfink/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adfink/dinner_dash/downloads","issues_url":"https://api.github.com/repos/adfink/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/adfink/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/adfink/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/adfink/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adfink/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/adfink/dinner_dash/releases{/id}","created_at":"2015-06-15T15:29:28Z","updated_at":"2015-06-15T15:30:37Z","pushed_at":"2015-06-23T22:20:46Z","git_url":"git://github.com/adfink/dinner_dash.git","ssh_url":"git@github.com:adfink/dinner_dash.git","clone_url":"https://github.com/adfink/dinner_dash.git","svn_url":"https://github.com/adfink/dinner_dash","homepage":null,"size":3724,"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":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"adfink:master","ref":"master","sha":"0b01b438ee466e3c45ab2a397150e2914d406f18","user":{"login":"adfink","id":10395328,"avatar_url":"https://avatars.githubusercontent.com/u/10395328?v=3","gravatar_id":"","url":"https://api.github.com/users/adfink","html_url":"https://github.com/adfink","followers_url":"https://api.github.com/users/adfink/followers","following_url":"https://api.github.com/users/adfink/following{/other_user}","gists_url":"https://api.github.com/users/adfink/gists{/gist_id}","starred_url":"https://api.github.com/users/adfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adfink/subscriptions","organizations_url":"https://api.github.com/users/adfink/orgs","repos_url":"https://api.github.com/users/adfink/repos","events_url":"https://api.github.com/users/adfink/events{/privacy}","received_events_url":"https://api.github.com/users/adfink/received_events","type":"User","site_admin":false},"repo":{"id":37473820,"name":"dinner_dash","full_name":"adfink/dinner_dash","owner":{"login":"adfink","id":10395328,"avatar_url":"https://avatars.githubusercontent.com/u/10395328?v=3","gravatar_id":"","url":"https://api.github.com/users/adfink","html_url":"https://github.com/adfink","followers_url":"https://api.github.com/users/adfink/followers","following_url":"https://api.github.com/users/adfink/following{/other_user}","gists_url":"https://api.github.com/users/adfink/gists{/gist_id}","starred_url":"https://api.github.com/users/adfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adfink/subscriptions","organizations_url":"https://api.github.com/users/adfink/orgs","repos_url":"https://api.github.com/users/adfink/repos","events_url":"https://api.github.com/users/adfink/events{/privacy}","received_events_url":"https://api.github.com/users/adfink/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adfink/dinner_dash","description":null,"fork":false,"url":"https://api.github.com/repos/adfink/dinner_dash","forks_url":"https://api.github.com/repos/adfink/dinner_dash/forks","keys_url":"https://api.github.com/repos/adfink/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adfink/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adfink/dinner_dash/teams","hooks_url":"https://api.github.com/repos/adfink/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/adfink/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/adfink/dinner_dash/events","assignees_url":"https://api.github.com/repos/adfink/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/adfink/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/adfink/dinner_dash/tags","blobs_url":"https://api.github.com/repos/adfink/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adfink/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adfink/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/adfink/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adfink/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/adfink/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/adfink/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/adfink/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/adfink/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/adfink/dinner_dash/subscription","commits_url":"https://api.github.com/repos/adfink/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/adfink/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/adfink/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/adfink/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/adfink/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/adfink/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adfink/dinner_dash/merges","archive_url":"https://api.github.com/repos/adfink/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adfink/dinner_dash/downloads","issues_url":"https://api.github.com/repos/adfink/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/adfink/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/adfink/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/adfink/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adfink/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/adfink/dinner_dash/releases{/id}","created_at":"2015-06-15T15:29:28Z","updated_at":"2015-06-15T15:30:37Z","pushed_at":"2015-06-23T22:20:46Z","git_url":"git://github.com/adfink/dinner_dash.git","ssh_url":"git@github.com:adfink/dinner_dash.git","clone_url":"https://github.com/adfink/dinner_dash.git","svn_url":"https://github.com/adfink/dinner_dash","homepage":null,"size":3724,"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":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adfink/dinner_dash/pulls/75"},"html":{"href":"https://github.com/adfink/dinner_dash/pull/75"},"issue":{"href":"https://api.github.com/repos/adfink/dinner_dash/issues/75"},"comments":{"href":"https://api.github.com/repos/adfink/dinner_dash/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/adfink/dinner_dash/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/adfink/dinner_dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adfink/dinner_dash/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/adfink/dinner_dash/statuses/ba965dc0975f8719e6cd20c78bb10c8733fa9ecf"}}}}