{"action":"created","comment":{"url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/comments/72105723","id":72105723,"diff_hunk":"@@ -0,0 +1,19 @@\n+require 'rails_helper'\n+\n+describe FacebookApi do\n+  let(:test_users) { Koala::Facebook::TestUsers.new(app_id: ENV['FACEBOOK_APP_ID'], secret: ENV['FACEBOOK_APP_SECRET']) }\n+  let(:user) { test_users.create(true) }\n+  let(:user_graph_api) { Koala::Facebook::API.new(user['access_token']) }\n+  let(:fb_data) { FacebookApi.new(user['access_token']) }\n+\n+  describe 'gets data about the user from facebook' do\n+    it 'data is a hash' do\n+      expect(fb_data.data.class).to eq(Hash)\n+    end\n+\n+    it 'data hash has the correct data about the user' do\n+      expect(fb_data.data['first_name']).to eq(user_graph_api.get_object('me?fields=first_name')['first_name'])","path":"spec/models/facebook_api_spec.rb","position":15,"original_position":15,"commit_id":"96436ac4a9086549b5aabf44b11d59bbe9d19636","original_commit_id":"96436ac4a9086549b5aabf44b11d59bbe9d19636","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":"Line is too long. [111/80]","created_at":"2016-07-25T17:21:23Z","updated_at":"2016-07-25T17:21:23Z","html_url":"https://github.com/FrankCardillo/SocialMediaFingerprint/pull/5#discussion_r72105723","pull_request_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/comments/72105723"},"html":{"href":"https://github.com/FrankCardillo/SocialMediaFingerprint/pull/5#discussion_r72105723"},"pull_request":{"href":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/5","id":78719054,"html_url":"https://github.com/FrankCardillo/SocialMediaFingerprint/pull/5","diff_url":"https://github.com/FrankCardillo/SocialMediaFingerprint/pull/5.diff","patch_url":"https://github.com/FrankCardillo/SocialMediaFingerprint/pull/5.patch","issue_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues/5","number":5,"state":"open","locked":false,"title":"Facebook api consumption","user":{"login":"FrankCardillo","id":13190803,"avatar_url":"https://avatars.githubusercontent.com/u/13190803?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankCardillo","html_url":"https://github.com/FrankCardillo","followers_url":"https://api.github.com/users/FrankCardillo/followers","following_url":"https://api.github.com/users/FrankCardillo/following{/other_user}","gists_url":"https://api.github.com/users/FrankCardillo/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankCardillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankCardillo/subscriptions","organizations_url":"https://api.github.com/users/FrankCardillo/orgs","repos_url":"https://api.github.com/users/FrankCardillo/repos","events_url":"https://api.github.com/users/FrankCardillo/events{/privacy}","received_events_url":"https://api.github.com/users/FrankCardillo/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-25T17:21:17Z","updated_at":"2016-07-25T17:21:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bfd0e9f104056bab9fefbe9dc2332616960fd122","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/5/commits","review_comments_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/5/comments","review_comment_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues/5/comments","statuses_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/statuses/96436ac4a9086549b5aabf44b11d59bbe9d19636","head":{"label":"FrankCardillo:facebook_api_consumption","ref":"facebook_api_consumption","sha":"96436ac4a9086549b5aabf44b11d59bbe9d19636","user":{"login":"FrankCardillo","id":13190803,"avatar_url":"https://avatars.githubusercontent.com/u/13190803?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankCardillo","html_url":"https://github.com/FrankCardillo","followers_url":"https://api.github.com/users/FrankCardillo/followers","following_url":"https://api.github.com/users/FrankCardillo/following{/other_user}","gists_url":"https://api.github.com/users/FrankCardillo/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankCardillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankCardillo/subscriptions","organizations_url":"https://api.github.com/users/FrankCardillo/orgs","repos_url":"https://api.github.com/users/FrankCardillo/repos","events_url":"https://api.github.com/users/FrankCardillo/events{/privacy}","received_events_url":"https://api.github.com/users/FrankCardillo/received_events","type":"User","site_admin":false},"repo":{"id":63602983,"name":"SocialMediaFingerprint","full_name":"FrankCardillo/SocialMediaFingerprint","owner":{"login":"FrankCardillo","id":13190803,"avatar_url":"https://avatars.githubusercontent.com/u/13190803?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankCardillo","html_url":"https://github.com/FrankCardillo","followers_url":"https://api.github.com/users/FrankCardillo/followers","following_url":"https://api.github.com/users/FrankCardillo/following{/other_user}","gists_url":"https://api.github.com/users/FrankCardillo/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankCardillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankCardillo/subscriptions","organizations_url":"https://api.github.com/users/FrankCardillo/orgs","repos_url":"https://api.github.com/users/FrankCardillo/repos","events_url":"https://api.github.com/users/FrankCardillo/events{/privacy}","received_events_url":"https://api.github.com/users/FrankCardillo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FrankCardillo/SocialMediaFingerprint","description":null,"fork":false,"url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint","forks_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/forks","keys_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/teams","hooks_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/hooks","issue_events_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues/events{/number}","events_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/events","assignees_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/assignees{/user}","branches_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/branches{/branch}","tags_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/tags","blobs_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/refs{/sha}","trees_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/statuses/{sha}","languages_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/languages","stargazers_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/stargazers","contributors_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/contributors","subscribers_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/subscribers","subscription_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/subscription","commits_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/commits{/sha}","git_commits_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/commits{/sha}","comments_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/comments{/number}","issue_comment_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues/comments{/number}","contents_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/contents/{+path}","compare_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/merges","archive_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/downloads","issues_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues{/number}","pulls_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls{/number}","milestones_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/milestones{/number}","notifications_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/labels{/name}","releases_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/releases{/id}","deployments_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/deployments","created_at":"2016-07-18T12:56:13Z","updated_at":"2016-07-24T20:16:17Z","pushed_at":"2016-07-25T17:21:17Z","git_url":"git://github.com/FrankCardillo/SocialMediaFingerprint.git","ssh_url":"git@github.com:FrankCardillo/SocialMediaFingerprint.git","clone_url":"https://github.com/FrankCardillo/SocialMediaFingerprint.git","svn_url":"https://github.com/FrankCardillo/SocialMediaFingerprint","homepage":null,"size":1027,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"FrankCardillo:master","ref":"master","sha":"2faee8a2797f5b22aa97c5425c48156a764fe155","user":{"login":"FrankCardillo","id":13190803,"avatar_url":"https://avatars.githubusercontent.com/u/13190803?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankCardillo","html_url":"https://github.com/FrankCardillo","followers_url":"https://api.github.com/users/FrankCardillo/followers","following_url":"https://api.github.com/users/FrankCardillo/following{/other_user}","gists_url":"https://api.github.com/users/FrankCardillo/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankCardillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankCardillo/subscriptions","organizations_url":"https://api.github.com/users/FrankCardillo/orgs","repos_url":"https://api.github.com/users/FrankCardillo/repos","events_url":"https://api.github.com/users/FrankCardillo/events{/privacy}","received_events_url":"https://api.github.com/users/FrankCardillo/received_events","type":"User","site_admin":false},"repo":{"id":63602983,"name":"SocialMediaFingerprint","full_name":"FrankCardillo/SocialMediaFingerprint","owner":{"login":"FrankCardillo","id":13190803,"avatar_url":"https://avatars.githubusercontent.com/u/13190803?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankCardillo","html_url":"https://github.com/FrankCardillo","followers_url":"https://api.github.com/users/FrankCardillo/followers","following_url":"https://api.github.com/users/FrankCardillo/following{/other_user}","gists_url":"https://api.github.com/users/FrankCardillo/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankCardillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankCardillo/subscriptions","organizations_url":"https://api.github.com/users/FrankCardillo/orgs","repos_url":"https://api.github.com/users/FrankCardillo/repos","events_url":"https://api.github.com/users/FrankCardillo/events{/privacy}","received_events_url":"https://api.github.com/users/FrankCardillo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FrankCardillo/SocialMediaFingerprint","description":null,"fork":false,"url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint","forks_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/forks","keys_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/teams","hooks_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/hooks","issue_events_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues/events{/number}","events_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/events","assignees_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/assignees{/user}","branches_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/branches{/branch}","tags_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/tags","blobs_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/refs{/sha}","trees_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/statuses/{sha}","languages_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/languages","stargazers_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/stargazers","contributors_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/contributors","subscribers_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/subscribers","subscription_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/subscription","commits_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/commits{/sha}","git_commits_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/git/commits{/sha}","comments_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/comments{/number}","issue_comment_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues/comments{/number}","contents_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/contents/{+path}","compare_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/merges","archive_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/downloads","issues_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues{/number}","pulls_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls{/number}","milestones_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/milestones{/number}","notifications_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/labels{/name}","releases_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/releases{/id}","deployments_url":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/deployments","created_at":"2016-07-18T12:56:13Z","updated_at":"2016-07-24T20:16:17Z","pushed_at":"2016-07-25T17:21:17Z","git_url":"git://github.com/FrankCardillo/SocialMediaFingerprint.git","ssh_url":"git@github.com:FrankCardillo/SocialMediaFingerprint.git","clone_url":"https://github.com/FrankCardillo/SocialMediaFingerprint.git","svn_url":"https://github.com/FrankCardillo/SocialMediaFingerprint","homepage":null,"size":1027,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/5"},"html":{"href":"https://github.com/FrankCardillo/SocialMediaFingerprint/pull/5"},"issue":{"href":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues/5"},"comments":{"href":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/FrankCardillo/SocialMediaFingerprint/statuses/96436ac4a9086549b5aabf44b11d59bbe9d19636"}}}}
{"actor":{"display_login":"houndci-bot"}}