{"action":"created","comment":{"url":"https://api.github.com/repos/annajb/learning_by_doing/pulls/comments/84620028","pull_request_review_id":5385646,"id":84620028,"diff_hunk":"@@ -0,0 +1,97 @@\n+require 'rspec'\n+require './lib/refrigerator'\n+\n+describe Refrigerator do\n+  let(:refrigerator) { Refrigerator.new }\n+\n+  it 'can be created' do\n+    expect(refrigerator).to be_a(Refrigerator)\n+  end\n+\n+  describe '#power_state' do\n+    it 'returns true by default' do\n+      expect(refrigerator.power_state).to eq(true)\n+    end\n+  end\n+\n+  describe '#power_switch' do\n+    it 'switches power state from on to off' do","path":"objects_tdd/spec/lib/refrigerator_spec.rb","position":18,"original_position":18,"commit_id":"b94f5249ef54da999020ef28f28ecd6afa04c402","original_commit_id":"b94f5249ef54da999020ef28f28ecd6afa04c402","user":{"login":"jasonnoble","id":22501,"avatar_url":"https://avatars.githubusercontent.com/u/22501?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonnoble","html_url":"https://github.com/jasonnoble","followers_url":"https://api.github.com/users/jasonnoble/followers","following_url":"https://api.github.com/users/jasonnoble/following{/other_user}","gists_url":"https://api.github.com/users/jasonnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonnoble/subscriptions","organizations_url":"https://api.github.com/users/jasonnoble/orgs","repos_url":"https://api.github.com/users/jasonnoble/repos","events_url":"https://api.github.com/users/jasonnoble/events{/privacy}","received_events_url":"https://api.github.com/users/jasonnoble/received_events","type":"User","site_admin":false},"body":"    context 'when the power is currently on' do\r\n       it 'turns it off' do\r\n         ...\r\n","created_at":"2016-10-24T04:34:22Z","updated_at":"2016-10-24T04:36:55Z","html_url":"https://github.com/annajb/learning_by_doing/pull/14#discussion_r84620028","pull_request_url":"https://api.github.com/repos/annajb/learning_by_doing/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/annajb/learning_by_doing/pulls/comments/84620028"},"html":{"href":"https://github.com/annajb/learning_by_doing/pull/14#discussion_r84620028"},"pull_request":{"href":"https://api.github.com/repos/annajb/learning_by_doing/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/annajb/learning_by_doing/pulls/14","id":90466500,"html_url":"https://github.com/annajb/learning_by_doing/pull/14","diff_url":"https://github.com/annajb/learning_by_doing/pull/14.diff","patch_url":"https://github.com/annajb/learning_by_doing/pull/14.patch","issue_url":"https://api.github.com/repos/annajb/learning_by_doing/issues/14","number":14,"state":"open","locked":false,"title":"Develop refrigerator class using tdd","user":{"login":"annajb","id":15237566,"avatar_url":"https://avatars.githubusercontent.com/u/15237566?v=3","gravatar_id":"","url":"https://api.github.com/users/annajb","html_url":"https://github.com/annajb","followers_url":"https://api.github.com/users/annajb/followers","following_url":"https://api.github.com/users/annajb/following{/other_user}","gists_url":"https://api.github.com/users/annajb/gists{/gist_id}","starred_url":"https://api.github.com/users/annajb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annajb/subscriptions","organizations_url":"https://api.github.com/users/annajb/orgs","repos_url":"https://api.github.com/users/annajb/repos","events_url":"https://api.github.com/users/annajb/events{/privacy}","received_events_url":"https://api.github.com/users/annajb/received_events","type":"User","site_admin":false},"body":"[#132879411]","created_at":"2016-10-22T02:02:55Z","updated_at":"2016-10-24T04:36:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"921c6e10e5addfbed62da01d8c7cccf30b3a2b6f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/annajb/learning_by_doing/pulls/14/commits","review_comments_url":"https://api.github.com/repos/annajb/learning_by_doing/pulls/14/comments","review_comment_url":"https://api.github.com/repos/annajb/learning_by_doing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/annajb/learning_by_doing/issues/14/comments","statuses_url":"https://api.github.com/repos/annajb/learning_by_doing/statuses/b94f5249ef54da999020ef28f28ecd6afa04c402","head":{"label":"annajb:132879411_tdd_refrigerator_master","ref":"132879411_tdd_refrigerator_master","sha":"b94f5249ef54da999020ef28f28ecd6afa04c402","user":{"login":"annajb","id":15237566,"avatar_url":"https://avatars.githubusercontent.com/u/15237566?v=3","gravatar_id":"","url":"https://api.github.com/users/annajb","html_url":"https://github.com/annajb","followers_url":"https://api.github.com/users/annajb/followers","following_url":"https://api.github.com/users/annajb/following{/other_user}","gists_url":"https://api.github.com/users/annajb/gists{/gist_id}","starred_url":"https://api.github.com/users/annajb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annajb/subscriptions","organizations_url":"https://api.github.com/users/annajb/orgs","repos_url":"https://api.github.com/users/annajb/repos","events_url":"https://api.github.com/users/annajb/events{/privacy}","received_events_url":"https://api.github.com/users/annajb/received_events","type":"User","site_admin":false},"repo":{"id":70114906,"name":"learning_by_doing","full_name":"annajb/learning_by_doing","owner":{"login":"annajb","id":15237566,"avatar_url":"https://avatars.githubusercontent.com/u/15237566?v=3","gravatar_id":"","url":"https://api.github.com/users/annajb","html_url":"https://github.com/annajb","followers_url":"https://api.github.com/users/annajb/followers","following_url":"https://api.github.com/users/annajb/following{/other_user}","gists_url":"https://api.github.com/users/annajb/gists{/gist_id}","starred_url":"https://api.github.com/users/annajb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annajb/subscriptions","organizations_url":"https://api.github.com/users/annajb/orgs","repos_url":"https://api.github.com/users/annajb/repos","events_url":"https://api.github.com/users/annajb/events{/privacy}","received_events_url":"https://api.github.com/users/annajb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annajb/learning_by_doing","description":"Homework assignments for the Building the Toolbelt of a Junior Ruby on Rails developer class I took in 2016","fork":false,"url":"https://api.github.com/repos/annajb/learning_by_doing","forks_url":"https://api.github.com/repos/annajb/learning_by_doing/forks","keys_url":"https://api.github.com/repos/annajb/learning_by_doing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annajb/learning_by_doing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annajb/learning_by_doing/teams","hooks_url":"https://api.github.com/repos/annajb/learning_by_doing/hooks","issue_events_url":"https://api.github.com/repos/annajb/learning_by_doing/issues/events{/number}","events_url":"https://api.github.com/repos/annajb/learning_by_doing/events","assignees_url":"https://api.github.com/repos/annajb/learning_by_doing/assignees{/user}","branches_url":"https://api.github.com/repos/annajb/learning_by_doing/branches{/branch}","tags_url":"https://api.github.com/repos/annajb/learning_by_doing/tags","blobs_url":"https://api.github.com/repos/annajb/learning_by_doing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annajb/learning_by_doing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annajb/learning_by_doing/git/refs{/sha}","trees_url":"https://api.github.com/repos/annajb/learning_by_doing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annajb/learning_by_doing/statuses/{sha}","languages_url":"https://api.github.com/repos/annajb/learning_by_doing/languages","stargazers_url":"https://api.github.com/repos/annajb/learning_by_doing/stargazers","contributors_url":"https://api.github.com/repos/annajb/learning_by_doing/contributors","subscribers_url":"https://api.github.com/repos/annajb/learning_by_doing/subscribers","subscription_url":"https://api.github.com/repos/annajb/learning_by_doing/subscription","commits_url":"https://api.github.com/repos/annajb/learning_by_doing/commits{/sha}","git_commits_url":"https://api.github.com/repos/annajb/learning_by_doing/git/commits{/sha}","comments_url":"https://api.github.com/repos/annajb/learning_by_doing/comments{/number}","issue_comment_url":"https://api.github.com/repos/annajb/learning_by_doing/issues/comments{/number}","contents_url":"https://api.github.com/repos/annajb/learning_by_doing/contents/{+path}","compare_url":"https://api.github.com/repos/annajb/learning_by_doing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annajb/learning_by_doing/merges","archive_url":"https://api.github.com/repos/annajb/learning_by_doing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annajb/learning_by_doing/downloads","issues_url":"https://api.github.com/repos/annajb/learning_by_doing/issues{/number}","pulls_url":"https://api.github.com/repos/annajb/learning_by_doing/pulls{/number}","milestones_url":"https://api.github.com/repos/annajb/learning_by_doing/milestones{/number}","notifications_url":"https://api.github.com/repos/annajb/learning_by_doing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annajb/learning_by_doing/labels{/name}","releases_url":"https://api.github.com/repos/annajb/learning_by_doing/releases{/id}","deployments_url":"https://api.github.com/repos/annajb/learning_by_doing/deployments","created_at":"2016-10-06T01:58:50Z","updated_at":"2016-10-24T04:14:29Z","pushed_at":"2016-10-24T04:18:02Z","git_url":"git://github.com/annajb/learning_by_doing.git","ssh_url":"git@github.com:annajb/learning_by_doing.git","clone_url":"https://github.com/annajb/learning_by_doing.git","svn_url":"https://github.com/annajb/learning_by_doing","homepage":null,"size":37,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"annajb:master","ref":"master","sha":"c567a52fee6220ae9d6bc6c5c139db14758b4b81","user":{"login":"annajb","id":15237566,"avatar_url":"https://avatars.githubusercontent.com/u/15237566?v=3","gravatar_id":"","url":"https://api.github.com/users/annajb","html_url":"https://github.com/annajb","followers_url":"https://api.github.com/users/annajb/followers","following_url":"https://api.github.com/users/annajb/following{/other_user}","gists_url":"https://api.github.com/users/annajb/gists{/gist_id}","starred_url":"https://api.github.com/users/annajb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annajb/subscriptions","organizations_url":"https://api.github.com/users/annajb/orgs","repos_url":"https://api.github.com/users/annajb/repos","events_url":"https://api.github.com/users/annajb/events{/privacy}","received_events_url":"https://api.github.com/users/annajb/received_events","type":"User","site_admin":false},"repo":{"id":70114906,"name":"learning_by_doing","full_name":"annajb/learning_by_doing","owner":{"login":"annajb","id":15237566,"avatar_url":"https://avatars.githubusercontent.com/u/15237566?v=3","gravatar_id":"","url":"https://api.github.com/users/annajb","html_url":"https://github.com/annajb","followers_url":"https://api.github.com/users/annajb/followers","following_url":"https://api.github.com/users/annajb/following{/other_user}","gists_url":"https://api.github.com/users/annajb/gists{/gist_id}","starred_url":"https://api.github.com/users/annajb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annajb/subscriptions","organizations_url":"https://api.github.com/users/annajb/orgs","repos_url":"https://api.github.com/users/annajb/repos","events_url":"https://api.github.com/users/annajb/events{/privacy}","received_events_url":"https://api.github.com/users/annajb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annajb/learning_by_doing","description":"Homework assignments for the Building the Toolbelt of a Junior Ruby on Rails developer class I took in 2016","fork":false,"url":"https://api.github.com/repos/annajb/learning_by_doing","forks_url":"https://api.github.com/repos/annajb/learning_by_doing/forks","keys_url":"https://api.github.com/repos/annajb/learning_by_doing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annajb/learning_by_doing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annajb/learning_by_doing/teams","hooks_url":"https://api.github.com/repos/annajb/learning_by_doing/hooks","issue_events_url":"https://api.github.com/repos/annajb/learning_by_doing/issues/events{/number}","events_url":"https://api.github.com/repos/annajb/learning_by_doing/events","assignees_url":"https://api.github.com/repos/annajb/learning_by_doing/assignees{/user}","branches_url":"https://api.github.com/repos/annajb/learning_by_doing/branches{/branch}","tags_url":"https://api.github.com/repos/annajb/learning_by_doing/tags","blobs_url":"https://api.github.com/repos/annajb/learning_by_doing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annajb/learning_by_doing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annajb/learning_by_doing/git/refs{/sha}","trees_url":"https://api.github.com/repos/annajb/learning_by_doing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annajb/learning_by_doing/statuses/{sha}","languages_url":"https://api.github.com/repos/annajb/learning_by_doing/languages","stargazers_url":"https://api.github.com/repos/annajb/learning_by_doing/stargazers","contributors_url":"https://api.github.com/repos/annajb/learning_by_doing/contributors","subscribers_url":"https://api.github.com/repos/annajb/learning_by_doing/subscribers","subscription_url":"https://api.github.com/repos/annajb/learning_by_doing/subscription","commits_url":"https://api.github.com/repos/annajb/learning_by_doing/commits{/sha}","git_commits_url":"https://api.github.com/repos/annajb/learning_by_doing/git/commits{/sha}","comments_url":"https://api.github.com/repos/annajb/learning_by_doing/comments{/number}","issue_comment_url":"https://api.github.com/repos/annajb/learning_by_doing/issues/comments{/number}","contents_url":"https://api.github.com/repos/annajb/learning_by_doing/contents/{+path}","compare_url":"https://api.github.com/repos/annajb/learning_by_doing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annajb/learning_by_doing/merges","archive_url":"https://api.github.com/repos/annajb/learning_by_doing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annajb/learning_by_doing/downloads","issues_url":"https://api.github.com/repos/annajb/learning_by_doing/issues{/number}","pulls_url":"https://api.github.com/repos/annajb/learning_by_doing/pulls{/number}","milestones_url":"https://api.github.com/repos/annajb/learning_by_doing/milestones{/number}","notifications_url":"https://api.github.com/repos/annajb/learning_by_doing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annajb/learning_by_doing/labels{/name}","releases_url":"https://api.github.com/repos/annajb/learning_by_doing/releases{/id}","deployments_url":"https://api.github.com/repos/annajb/learning_by_doing/deployments","created_at":"2016-10-06T01:58:50Z","updated_at":"2016-10-24T04:14:29Z","pushed_at":"2016-10-24T04:18:02Z","git_url":"git://github.com/annajb/learning_by_doing.git","ssh_url":"git@github.com:annajb/learning_by_doing.git","clone_url":"https://github.com/annajb/learning_by_doing.git","svn_url":"https://github.com/annajb/learning_by_doing","homepage":null,"size":37,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/annajb/learning_by_doing/pulls/14"},"html":{"href":"https://github.com/annajb/learning_by_doing/pull/14"},"issue":{"href":"https://api.github.com/repos/annajb/learning_by_doing/issues/14"},"comments":{"href":"https://api.github.com/repos/annajb/learning_by_doing/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/annajb/learning_by_doing/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/annajb/learning_by_doing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/annajb/learning_by_doing/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/annajb/learning_by_doing/statuses/b94f5249ef54da999020ef28f28ecd6afa04c402"}}}}
{"actor":{"display_login":"jasonnoble"}}