{"action":"created","comment":{"url":"https://api.github.com/repos/dwaynemac/contacts/pulls/comments/38824652","id":38824652,"diff_hunk":"@@ -0,0 +1,78 @@\n+require 'spec_helper'\n+\n+describe V0::OccupationsController do\n+\n+  describe '#index' do\n+    before do\n+      address = Address.new(:country => \"Argentina\",\n+                            :city => \"Capital Federal\",\n+                            :state => \"Capital Federal\",\n+                            :value => \"fake street\"\n+                           )\n+\n+      @lawyer = Contact.make      \n+      @lawyer.contact_attributes << Occupation.new(:value => \"Lawyer\")\n+      \n+\n+      @doctor = Contact.make(:status => \"student\")      \n+      @doctor.contact_attributes << Occupation.new(:value => \"Doctor\")","path":"spec/controllers/v0/occupations_controller_spec.rb","position":18,"original_position":18,"commit_id":"f2e6d1dce27fc47852401b4766cd5c09cfbb0cc1","original_commit_id":"f2e6d1dce27fc47852401b4766cd5c09cfbb0cc1","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":"Use the new Ruby 1.9 hash syntax.","created_at":"2015-09-06T18:43:47Z","updated_at":"2015-09-06T18:43:47Z","html_url":"https://github.com/dwaynemac/contacts/pull/8#discussion_r38824652","pull_request_url":"https://api.github.com/repos/dwaynemac/contacts/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/dwaynemac/contacts/pulls/comments/38824652"},"html":{"href":"https://github.com/dwaynemac/contacts/pull/8#discussion_r38824652"},"pull_request":{"href":"https://api.github.com/repos/dwaynemac/contacts/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/dwaynemac/contacts/pulls/8","id":44307588,"html_url":"https://github.com/dwaynemac/contacts/pull/8","diff_url":"https://github.com/dwaynemac/contacts/pull/8.diff","patch_url":"https://github.com/dwaynemac/contacts/pull/8.patch","issue_url":"https://api.github.com/repos/dwaynemac/contacts/issues/8","number":8,"state":"open","locked":false,"title":"61928400 date bug","user":{"login":"afalkear","id":43420,"avatar_url":"https://avatars.githubusercontent.com/u/43420?v=3","gravatar_id":"","url":"https://api.github.com/users/afalkear","html_url":"https://github.com/afalkear","followers_url":"https://api.github.com/users/afalkear/followers","following_url":"https://api.github.com/users/afalkear/following{/other_user}","gists_url":"https://api.github.com/users/afalkear/gists{/gist_id}","starred_url":"https://api.github.com/users/afalkear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afalkear/subscriptions","organizations_url":"https://api.github.com/users/afalkear/orgs","repos_url":"https://api.github.com/users/afalkear/repos","events_url":"https://api.github.com/users/afalkear/events{/privacy}","received_events_url":"https://api.github.com/users/afalkear/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-06T18:43:41Z","updated_at":"2015-09-06T18:43:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6faafbce0f1e7387340615d9c0a32c9920401156","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dwaynemac/contacts/pulls/8/commits","review_comments_url":"https://api.github.com/repos/dwaynemac/contacts/pulls/8/comments","review_comment_url":"https://api.github.com/repos/dwaynemac/contacts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dwaynemac/contacts/issues/8/comments","statuses_url":"https://api.github.com/repos/dwaynemac/contacts/statuses/f2e6d1dce27fc47852401b4766cd5c09cfbb0cc1","head":{"label":"dwaynemac:61928400-date-bug","ref":"61928400-date-bug","sha":"f2e6d1dce27fc47852401b4766cd5c09cfbb0cc1","user":{"login":"dwaynemac","id":18325,"avatar_url":"https://avatars.githubusercontent.com/u/18325?v=3","gravatar_id":"","url":"https://api.github.com/users/dwaynemac","html_url":"https://github.com/dwaynemac","followers_url":"https://api.github.com/users/dwaynemac/followers","following_url":"https://api.github.com/users/dwaynemac/following{/other_user}","gists_url":"https://api.github.com/users/dwaynemac/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaynemac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaynemac/subscriptions","organizations_url":"https://api.github.com/users/dwaynemac/orgs","repos_url":"https://api.github.com/users/dwaynemac/repos","events_url":"https://api.github.com/users/dwaynemac/events{/privacy}","received_events_url":"https://api.github.com/users/dwaynemac/received_events","type":"User","site_admin":false},"repo":{"id":2385566,"name":"contacts","full_name":"dwaynemac/contacts","owner":{"login":"dwaynemac","id":18325,"avatar_url":"https://avatars.githubusercontent.com/u/18325?v=3","gravatar_id":"","url":"https://api.github.com/users/dwaynemac","html_url":"https://github.com/dwaynemac","followers_url":"https://api.github.com/users/dwaynemac/followers","following_url":"https://api.github.com/users/dwaynemac/following{/other_user}","gists_url":"https://api.github.com/users/dwaynemac/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaynemac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaynemac/subscriptions","organizations_url":"https://api.github.com/users/dwaynemac/orgs","repos_url":"https://api.github.com/users/dwaynemac/repos","events_url":"https://api.github.com/users/dwaynemac/events{/privacy}","received_events_url":"https://api.github.com/users/dwaynemac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dwaynemac/contacts","description":"PADMA CONTACTS WS","fork":false,"url":"https://api.github.com/repos/dwaynemac/contacts","forks_url":"https://api.github.com/repos/dwaynemac/contacts/forks","keys_url":"https://api.github.com/repos/dwaynemac/contacts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwaynemac/contacts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwaynemac/contacts/teams","hooks_url":"https://api.github.com/repos/dwaynemac/contacts/hooks","issue_events_url":"https://api.github.com/repos/dwaynemac/contacts/issues/events{/number}","events_url":"https://api.github.com/repos/dwaynemac/contacts/events","assignees_url":"https://api.github.com/repos/dwaynemac/contacts/assignees{/user}","branches_url":"https://api.github.com/repos/dwaynemac/contacts/branches{/branch}","tags_url":"https://api.github.com/repos/dwaynemac/contacts/tags","blobs_url":"https://api.github.com/repos/dwaynemac/contacts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwaynemac/contacts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwaynemac/contacts/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwaynemac/contacts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwaynemac/contacts/statuses/{sha}","languages_url":"https://api.github.com/repos/dwaynemac/contacts/languages","stargazers_url":"https://api.github.com/repos/dwaynemac/contacts/stargazers","contributors_url":"https://api.github.com/repos/dwaynemac/contacts/contributors","subscribers_url":"https://api.github.com/repos/dwaynemac/contacts/subscribers","subscription_url":"https://api.github.com/repos/dwaynemac/contacts/subscription","commits_url":"https://api.github.com/repos/dwaynemac/contacts/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwaynemac/contacts/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwaynemac/contacts/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwaynemac/contacts/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwaynemac/contacts/contents/{+path}","compare_url":"https://api.github.com/repos/dwaynemac/contacts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwaynemac/contacts/merges","archive_url":"https://api.github.com/repos/dwaynemac/contacts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwaynemac/contacts/downloads","issues_url":"https://api.github.com/repos/dwaynemac/contacts/issues{/number}","pulls_url":"https://api.github.com/repos/dwaynemac/contacts/pulls{/number}","milestones_url":"https://api.github.com/repos/dwaynemac/contacts/milestones{/number}","notifications_url":"https://api.github.com/repos/dwaynemac/contacts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwaynemac/contacts/labels{/name}","releases_url":"https://api.github.com/repos/dwaynemac/contacts/releases{/id}","created_at":"2011-09-14T13:49:46Z","updated_at":"2015-05-08T20:55:47Z","pushed_at":"2015-09-06T18:43:42Z","git_url":"git://github.com/dwaynemac/contacts.git","ssh_url":"git@github.com:dwaynemac/contacts.git","clone_url":"https://github.com/dwaynemac/contacts.git","svn_url":"https://github.com/dwaynemac/contacts","homepage":"","size":3628,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"dwaynemac:master","ref":"master","sha":"82ec08703005822469f79ca21aa00f1d5ec981f3","user":{"login":"dwaynemac","id":18325,"avatar_url":"https://avatars.githubusercontent.com/u/18325?v=3","gravatar_id":"","url":"https://api.github.com/users/dwaynemac","html_url":"https://github.com/dwaynemac","followers_url":"https://api.github.com/users/dwaynemac/followers","following_url":"https://api.github.com/users/dwaynemac/following{/other_user}","gists_url":"https://api.github.com/users/dwaynemac/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaynemac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaynemac/subscriptions","organizations_url":"https://api.github.com/users/dwaynemac/orgs","repos_url":"https://api.github.com/users/dwaynemac/repos","events_url":"https://api.github.com/users/dwaynemac/events{/privacy}","received_events_url":"https://api.github.com/users/dwaynemac/received_events","type":"User","site_admin":false},"repo":{"id":2385566,"name":"contacts","full_name":"dwaynemac/contacts","owner":{"login":"dwaynemac","id":18325,"avatar_url":"https://avatars.githubusercontent.com/u/18325?v=3","gravatar_id":"","url":"https://api.github.com/users/dwaynemac","html_url":"https://github.com/dwaynemac","followers_url":"https://api.github.com/users/dwaynemac/followers","following_url":"https://api.github.com/users/dwaynemac/following{/other_user}","gists_url":"https://api.github.com/users/dwaynemac/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaynemac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaynemac/subscriptions","organizations_url":"https://api.github.com/users/dwaynemac/orgs","repos_url":"https://api.github.com/users/dwaynemac/repos","events_url":"https://api.github.com/users/dwaynemac/events{/privacy}","received_events_url":"https://api.github.com/users/dwaynemac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dwaynemac/contacts","description":"PADMA CONTACTS WS","fork":false,"url":"https://api.github.com/repos/dwaynemac/contacts","forks_url":"https://api.github.com/repos/dwaynemac/contacts/forks","keys_url":"https://api.github.com/repos/dwaynemac/contacts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwaynemac/contacts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwaynemac/contacts/teams","hooks_url":"https://api.github.com/repos/dwaynemac/contacts/hooks","issue_events_url":"https://api.github.com/repos/dwaynemac/contacts/issues/events{/number}","events_url":"https://api.github.com/repos/dwaynemac/contacts/events","assignees_url":"https://api.github.com/repos/dwaynemac/contacts/assignees{/user}","branches_url":"https://api.github.com/repos/dwaynemac/contacts/branches{/branch}","tags_url":"https://api.github.com/repos/dwaynemac/contacts/tags","blobs_url":"https://api.github.com/repos/dwaynemac/contacts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwaynemac/contacts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwaynemac/contacts/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwaynemac/contacts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwaynemac/contacts/statuses/{sha}","languages_url":"https://api.github.com/repos/dwaynemac/contacts/languages","stargazers_url":"https://api.github.com/repos/dwaynemac/contacts/stargazers","contributors_url":"https://api.github.com/repos/dwaynemac/contacts/contributors","subscribers_url":"https://api.github.com/repos/dwaynemac/contacts/subscribers","subscription_url":"https://api.github.com/repos/dwaynemac/contacts/subscription","commits_url":"https://api.github.com/repos/dwaynemac/contacts/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwaynemac/contacts/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwaynemac/contacts/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwaynemac/contacts/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwaynemac/contacts/contents/{+path}","compare_url":"https://api.github.com/repos/dwaynemac/contacts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwaynemac/contacts/merges","archive_url":"https://api.github.com/repos/dwaynemac/contacts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwaynemac/contacts/downloads","issues_url":"https://api.github.com/repos/dwaynemac/contacts/issues{/number}","pulls_url":"https://api.github.com/repos/dwaynemac/contacts/pulls{/number}","milestones_url":"https://api.github.com/repos/dwaynemac/contacts/milestones{/number}","notifications_url":"https://api.github.com/repos/dwaynemac/contacts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwaynemac/contacts/labels{/name}","releases_url":"https://api.github.com/repos/dwaynemac/contacts/releases{/id}","created_at":"2011-09-14T13:49:46Z","updated_at":"2015-05-08T20:55:47Z","pushed_at":"2015-09-06T18:43:42Z","git_url":"git://github.com/dwaynemac/contacts.git","ssh_url":"git@github.com:dwaynemac/contacts.git","clone_url":"https://github.com/dwaynemac/contacts.git","svn_url":"https://github.com/dwaynemac/contacts","homepage":"","size":3628,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dwaynemac/contacts/pulls/8"},"html":{"href":"https://github.com/dwaynemac/contacts/pull/8"},"issue":{"href":"https://api.github.com/repos/dwaynemac/contacts/issues/8"},"comments":{"href":"https://api.github.com/repos/dwaynemac/contacts/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/dwaynemac/contacts/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/dwaynemac/contacts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dwaynemac/contacts/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/dwaynemac/contacts/statuses/f2e6d1dce27fc47852401b4766cd5c09cfbb0cc1"}}}}