{"action":"created","comment":{"url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/comments/50201511","id":50201511,"diff_hunk":"@@ -0,0 +1,75 @@\n+require 'rails_helper'\n+\n+RSpec.describe LocuData, type: :model, vcr: true do\n+  it 'successfully receives json data from locu with default parameters' do\n+    locu_data = LocuData.new\n+    locu_data.search_function\n+    expect(locu_data.data['status']).to eq('success')\n+    locu_data.data['venues'].each do |venue|\n+      expect(venue['location']['locality']).to eq(IpApi.new.data['city'])\n+      expect(venue['categories'].any? { |category| category['str_id'] == 'restaurants' }).to eq(true)","path":"spec/models/locu_data_spec.rb","position":10,"original_position":10,"commit_id":"0220dd6e9ec082cbb1611a9459a81ae5caaaac90","original_commit_id":"0220dd6e9ec082cbb1611a9459a81ae5caaaac90","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":"Line is too long. [101/80]","created_at":"2016-01-20T00:59:51Z","updated_at":"2016-01-20T00:59:51Z","html_url":"https://github.com/jiexu10/pinpoint/pull/30#discussion_r50201511","pull_request_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/comments/50201511"},"html":{"href":"https://github.com/jiexu10/pinpoint/pull/30#discussion_r50201511"},"pull_request":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/30","id":56550195,"html_url":"https://github.com/jiexu10/pinpoint/pull/30","diff_url":"https://github.com/jiexu10/pinpoint/pull/30.diff","patch_url":"https://github.com/jiexu10/pinpoint/pull/30.patch","issue_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/30","number":30,"state":"open","locked":false,"title":"[Resolves #23] get locu data and search","user":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"body":"#23 ","created_at":"2016-01-20T00:59:43Z","updated_at":"2016-01-20T00:59:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ae0340ad9743900785bdf749d1c5f0cc9a0ab2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/30/commits","review_comments_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/30/comments","review_comment_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/30/comments","statuses_url":"https://api.github.com/repos/jiexu10/pinpoint/statuses/0220dd6e9ec082cbb1611a9459a81ae5caaaac90","head":{"label":"jiexu10:jx-23-locu-data","ref":"jx-23-locu-data","sha":"0220dd6e9ec082cbb1611a9459a81ae5caaaac90","user":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"repo":{"id":49346910,"name":"pinpoint","full_name":"jiexu10/pinpoint","owner":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiexu10/pinpoint","description":"Pinpoint App - Find your Food","fork":false,"url":"https://api.github.com/repos/jiexu10/pinpoint","forks_url":"https://api.github.com/repos/jiexu10/pinpoint/forks","keys_url":"https://api.github.com/repos/jiexu10/pinpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiexu10/pinpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiexu10/pinpoint/teams","hooks_url":"https://api.github.com/repos/jiexu10/pinpoint/hooks","issue_events_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/events{/number}","events_url":"https://api.github.com/repos/jiexu10/pinpoint/events","assignees_url":"https://api.github.com/repos/jiexu10/pinpoint/assignees{/user}","branches_url":"https://api.github.com/repos/jiexu10/pinpoint/branches{/branch}","tags_url":"https://api.github.com/repos/jiexu10/pinpoint/tags","blobs_url":"https://api.github.com/repos/jiexu10/pinpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiexu10/pinpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiexu10/pinpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiexu10/pinpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiexu10/pinpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/jiexu10/pinpoint/languages","stargazers_url":"https://api.github.com/repos/jiexu10/pinpoint/stargazers","contributors_url":"https://api.github.com/repos/jiexu10/pinpoint/contributors","subscribers_url":"https://api.github.com/repos/jiexu10/pinpoint/subscribers","subscription_url":"https://api.github.com/repos/jiexu10/pinpoint/subscription","commits_url":"https://api.github.com/repos/jiexu10/pinpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiexu10/pinpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiexu10/pinpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiexu10/pinpoint/contents/{+path}","compare_url":"https://api.github.com/repos/jiexu10/pinpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiexu10/pinpoint/merges","archive_url":"https://api.github.com/repos/jiexu10/pinpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiexu10/pinpoint/downloads","issues_url":"https://api.github.com/repos/jiexu10/pinpoint/issues{/number}","pulls_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/jiexu10/pinpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/jiexu10/pinpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiexu10/pinpoint/labels{/name}","releases_url":"https://api.github.com/repos/jiexu10/pinpoint/releases{/id}","created_at":"2016-01-10T00:12:40Z","updated_at":"2016-01-18T23:55:58Z","pushed_at":"2016-01-20T00:59:44Z","git_url":"git://github.com/jiexu10/pinpoint.git","ssh_url":"git@github.com:jiexu10/pinpoint.git","clone_url":"https://github.com/jiexu10/pinpoint.git","svn_url":"https://github.com/jiexu10/pinpoint","homepage":"https://pinpoint-food.herokuapp.com","size":441,"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":14,"forks":0,"open_issues":14,"watchers":0,"default_branch":"master"}},"base":{"label":"jiexu10:master","ref":"master","sha":"a4f2182411bfce75fd9c722ac3c6c016d6596f4d","user":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"repo":{"id":49346910,"name":"pinpoint","full_name":"jiexu10/pinpoint","owner":{"login":"jiexu10","id":12928368,"avatar_url":"https://avatars.githubusercontent.com/u/12928368?v=3","gravatar_id":"","url":"https://api.github.com/users/jiexu10","html_url":"https://github.com/jiexu10","followers_url":"https://api.github.com/users/jiexu10/followers","following_url":"https://api.github.com/users/jiexu10/following{/other_user}","gists_url":"https://api.github.com/users/jiexu10/gists{/gist_id}","starred_url":"https://api.github.com/users/jiexu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiexu10/subscriptions","organizations_url":"https://api.github.com/users/jiexu10/orgs","repos_url":"https://api.github.com/users/jiexu10/repos","events_url":"https://api.github.com/users/jiexu10/events{/privacy}","received_events_url":"https://api.github.com/users/jiexu10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiexu10/pinpoint","description":"Pinpoint App - Find your Food","fork":false,"url":"https://api.github.com/repos/jiexu10/pinpoint","forks_url":"https://api.github.com/repos/jiexu10/pinpoint/forks","keys_url":"https://api.github.com/repos/jiexu10/pinpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiexu10/pinpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiexu10/pinpoint/teams","hooks_url":"https://api.github.com/repos/jiexu10/pinpoint/hooks","issue_events_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/events{/number}","events_url":"https://api.github.com/repos/jiexu10/pinpoint/events","assignees_url":"https://api.github.com/repos/jiexu10/pinpoint/assignees{/user}","branches_url":"https://api.github.com/repos/jiexu10/pinpoint/branches{/branch}","tags_url":"https://api.github.com/repos/jiexu10/pinpoint/tags","blobs_url":"https://api.github.com/repos/jiexu10/pinpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiexu10/pinpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiexu10/pinpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiexu10/pinpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiexu10/pinpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/jiexu10/pinpoint/languages","stargazers_url":"https://api.github.com/repos/jiexu10/pinpoint/stargazers","contributors_url":"https://api.github.com/repos/jiexu10/pinpoint/contributors","subscribers_url":"https://api.github.com/repos/jiexu10/pinpoint/subscribers","subscription_url":"https://api.github.com/repos/jiexu10/pinpoint/subscription","commits_url":"https://api.github.com/repos/jiexu10/pinpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiexu10/pinpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiexu10/pinpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiexu10/pinpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiexu10/pinpoint/contents/{+path}","compare_url":"https://api.github.com/repos/jiexu10/pinpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiexu10/pinpoint/merges","archive_url":"https://api.github.com/repos/jiexu10/pinpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiexu10/pinpoint/downloads","issues_url":"https://api.github.com/repos/jiexu10/pinpoint/issues{/number}","pulls_url":"https://api.github.com/repos/jiexu10/pinpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/jiexu10/pinpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/jiexu10/pinpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiexu10/pinpoint/labels{/name}","releases_url":"https://api.github.com/repos/jiexu10/pinpoint/releases{/id}","created_at":"2016-01-10T00:12:40Z","updated_at":"2016-01-18T23:55:58Z","pushed_at":"2016-01-20T00:59:44Z","git_url":"git://github.com/jiexu10/pinpoint.git","ssh_url":"git@github.com:jiexu10/pinpoint.git","clone_url":"https://github.com/jiexu10/pinpoint.git","svn_url":"https://github.com/jiexu10/pinpoint","homepage":"https://pinpoint-food.herokuapp.com","size":441,"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":14,"forks":0,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/30"},"html":{"href":"https://github.com/jiexu10/pinpoint/pull/30"},"issue":{"href":"https://api.github.com/repos/jiexu10/pinpoint/issues/30"},"comments":{"href":"https://api.github.com/repos/jiexu10/pinpoint/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jiexu10/pinpoint/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/jiexu10/pinpoint/statuses/0220dd6e9ec082cbb1611a9459a81ae5caaaac90"}}}}