{"action":"created","comment":{"url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/comments/58228613","id":58228613,"diff_hunk":"@@ -0,0 +1,43 @@\n+shared_context :stub_api_following_standards do\n+  let(:response) do\n+    {\n+        'data' => [ data ].flatten,\n+        'page' => 1,\n+        'page_size' => 1,\n+        'total' => 1","path":"spec/support/common_client_stubs.rb","position":7,"original_position":7,"commit_id":"b1482aa4dbae07d2a47cadd51ab9206d0b71a840","original_commit_id":"b1482aa4dbae07d2a47cadd51ab9206d0b71a840","user":{"login":"usbsnowcrash","id":882850,"avatar_url":"https://avatars.githubusercontent.com/u/882850?v=3","gravatar_id":"","url":"https://api.github.com/users/usbsnowcrash","html_url":"https://github.com/usbsnowcrash","followers_url":"https://api.github.com/users/usbsnowcrash/followers","following_url":"https://api.github.com/users/usbsnowcrash/following{/other_user}","gists_url":"https://api.github.com/users/usbsnowcrash/gists{/gist_id}","starred_url":"https://api.github.com/users/usbsnowcrash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usbsnowcrash/subscriptions","organizations_url":"https://api.github.com/users/usbsnowcrash/orgs","repos_url":"https://api.github.com/users/usbsnowcrash/repos","events_url":"https://api.github.com/users/usbsnowcrash/events{/privacy}","received_events_url":"https://api.github.com/users/usbsnowcrash/received_events","type":"User","site_admin":false},"body":"I tried making that change and it causes me to have to edit 18 let(:data) statements to add in [] so I'm not sure I like it better.","created_at":"2016-04-01T16:11:31Z","updated_at":"2016-04-01T16:11:31Z","html_url":"https://github.com/careerbuilder/ruby-cb-api/pull/241#discussion_r58228613","pull_request_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/241","_links":{"self":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/comments/58228613"},"html":{"href":"https://github.com/careerbuilder/ruby-cb-api/pull/241#discussion_r58228613"},"pull_request":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/241"}}},"pull_request":{"url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/241","id":64964076,"html_url":"https://github.com/careerbuilder/ruby-cb-api/pull/241","diff_url":"https://github.com/careerbuilder/ruby-cb-api/pull/241.diff","patch_url":"https://github.com/careerbuilder/ruby-cb-api/pull/241.patch","issue_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/241","number":241,"state":"open","locked":false,"title":"Creates a common context to be shared by tests in the new client format","user":{"login":"usbsnowcrash","id":882850,"avatar_url":"https://avatars.githubusercontent.com/u/882850?v=3","gravatar_id":"","url":"https://api.github.com/users/usbsnowcrash","html_url":"https://github.com/usbsnowcrash","followers_url":"https://api.github.com/users/usbsnowcrash/followers","following_url":"https://api.github.com/users/usbsnowcrash/following{/other_user}","gists_url":"https://api.github.com/users/usbsnowcrash/gists{/gist_id}","starred_url":"https://api.github.com/users/usbsnowcrash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usbsnowcrash/subscriptions","organizations_url":"https://api.github.com/users/usbsnowcrash/orgs","repos_url":"https://api.github.com/users/usbsnowcrash/repos","events_url":"https://api.github.com/users/usbsnowcrash/events{/privacy}","received_events_url":"https://api.github.com/users/usbsnowcrash/received_events","type":"User","site_admin":false},"body":"## Feature Branch PR","created_at":"2016-04-01T15:42:29Z","updated_at":"2016-04-01T16:11:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3a8d7f3568fc3e97d5dbd877cca2aaa9c5431fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/241/commits","review_comments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/241/comments","review_comment_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/241/comments","statuses_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/statuses/b1482aa4dbae07d2a47cadd51ab9206d0b71a840","head":{"label":"careerbuilder:common-test-classes","ref":"common-test-classes","sha":"b1482aa4dbae07d2a47cadd51ab9206d0b71a840","user":{"login":"careerbuilder","id":1043090,"avatar_url":"https://avatars.githubusercontent.com/u/1043090?v=3","gravatar_id":"","url":"https://api.github.com/users/careerbuilder","html_url":"https://github.com/careerbuilder","followers_url":"https://api.github.com/users/careerbuilder/followers","following_url":"https://api.github.com/users/careerbuilder/following{/other_user}","gists_url":"https://api.github.com/users/careerbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/careerbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careerbuilder/subscriptions","organizations_url":"https://api.github.com/users/careerbuilder/orgs","repos_url":"https://api.github.com/users/careerbuilder/repos","events_url":"https://api.github.com/users/careerbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/careerbuilder/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"careerbuilder/ruby-cb-api","owner":{"login":"careerbuilder","id":1043090,"avatar_url":"https://avatars.githubusercontent.com/u/1043090?v=3","gravatar_id":"","url":"https://api.github.com/users/careerbuilder","html_url":"https://github.com/careerbuilder","followers_url":"https://api.github.com/users/careerbuilder/followers","following_url":"https://api.github.com/users/careerbuilder/following{/other_user}","gists_url":"https://api.github.com/users/careerbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/careerbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careerbuilder/subscriptions","organizations_url":"https://api.github.com/users/careerbuilder/orgs","repos_url":"https://api.github.com/users/careerbuilder/repos","events_url":"https://api.github.com/users/careerbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/careerbuilder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/careerbuilder/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/careerbuilder/ruby-cb-api","forks_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/releases{/id}","deployments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/deployments","created_at":"2013-02-01T08:44:41Z","updated_at":"2016-02-01T22:47:44Z","pushed_at":"2016-04-01T16:04:25Z","git_url":"git://github.com/careerbuilder/ruby-cb-api.git","ssh_url":"git@github.com:careerbuilder/ruby-cb-api.git","clone_url":"https://github.com/careerbuilder/ruby-cb-api.git","svn_url":"https://github.com/careerbuilder/ruby-cb-api","homepage":"","size":2440,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":1,"forks":13,"open_issues":1,"watchers":9,"default_branch":"master"}},"base":{"label":"careerbuilder:pre-release","ref":"pre-release","sha":"538e25b39962771fe2f5db0c89f4b10c44901e02","user":{"login":"careerbuilder","id":1043090,"avatar_url":"https://avatars.githubusercontent.com/u/1043090?v=3","gravatar_id":"","url":"https://api.github.com/users/careerbuilder","html_url":"https://github.com/careerbuilder","followers_url":"https://api.github.com/users/careerbuilder/followers","following_url":"https://api.github.com/users/careerbuilder/following{/other_user}","gists_url":"https://api.github.com/users/careerbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/careerbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careerbuilder/subscriptions","organizations_url":"https://api.github.com/users/careerbuilder/orgs","repos_url":"https://api.github.com/users/careerbuilder/repos","events_url":"https://api.github.com/users/careerbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/careerbuilder/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"careerbuilder/ruby-cb-api","owner":{"login":"careerbuilder","id":1043090,"avatar_url":"https://avatars.githubusercontent.com/u/1043090?v=3","gravatar_id":"","url":"https://api.github.com/users/careerbuilder","html_url":"https://github.com/careerbuilder","followers_url":"https://api.github.com/users/careerbuilder/followers","following_url":"https://api.github.com/users/careerbuilder/following{/other_user}","gists_url":"https://api.github.com/users/careerbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/careerbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careerbuilder/subscriptions","organizations_url":"https://api.github.com/users/careerbuilder/orgs","repos_url":"https://api.github.com/users/careerbuilder/repos","events_url":"https://api.github.com/users/careerbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/careerbuilder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/careerbuilder/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/careerbuilder/ruby-cb-api","forks_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/releases{/id}","deployments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/deployments","created_at":"2013-02-01T08:44:41Z","updated_at":"2016-02-01T22:47:44Z","pushed_at":"2016-04-01T16:04:25Z","git_url":"git://github.com/careerbuilder/ruby-cb-api.git","ssh_url":"git@github.com:careerbuilder/ruby-cb-api.git","clone_url":"https://github.com/careerbuilder/ruby-cb-api.git","svn_url":"https://github.com/careerbuilder/ruby-cb-api","homepage":"","size":2440,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":1,"forks":13,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/241"},"html":{"href":"https://github.com/careerbuilder/ruby-cb-api/pull/241"},"issue":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/241"},"comments":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/241/comments"},"review_comments":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/241/comments"},"review_comment":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/241/commits"},"statuses":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/statuses/b1482aa4dbae07d2a47cadd51ab9206d0b71a840"}}}}