{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/81469412","pull_request_review_id":2448438,"id":81469412,"diff_hunk":"@@ -0,0 +1,90 @@\n+require 'airport'\n+\n+describe Airport do\n+\n+  before :each do\n+    @airport = Airport.new\n+    @plane = double(:plane)\n+    allow(@plane).to receive(:flying?).and_return(false)\n+    allow(@plane).to receive(:flying=).and_return(true)\n+    @err1 = 'Cannot land in bad weather'\n+    @err2 = 'Cannot take off in bad weather'\n+  end\n+\n+  describe '#accessor' do\n+    it 'allows read of plane_hangar' do\n+      expect(@airport.plane_hangar << @plane).to eq [@plane]\n+    end\n+\n+    it 'allows write of plane_hangar' do\n+      @airport.plane_hangar = [@plane, @plane]\n+      expect(@airport.plane_hangar).to eq [@plane, @plane]\n+    end\n+\n+    it 'allows read of weather' do\n+      expect(@airport.weather).to eq(10)\n+    end\n+\n+    it 'allows write of weather' do\n+      @airport.weather = 2\n+      expect(@airport.weather).to eq(2)\n+    end\n+  end\n+\n+  describe '#land' do\n+    it 'adds plane to plane_hangar' do\n+      @airport.land(@plane)\n+      expect(@airport.plane_hangar).to eq([@plane])\n+    end\n+\n+    it 'lands in good weather' do\n+      @airport.weather = 2\n+      @airport.land(@plane)\n+      expect(@airport.plane_hangar).to eq([@plane])\n+    end\n+\n+    it 'does not land in bad weather' do\n+      @airport.weather = 1\n+      expect { @airport.land(@plane) }.to raise_error(@err1)\n+    end\n+  end\n+\n+  describe '#takeoff' do\n+    it 'returns plane if weather is good' do\n+      @airport.plane_hangar << @plane\n+      expect(@airport.takeoff(@plane)).to eq(@plane)\n+    end\n+\n+    it 'raises error if weather is bad' do\n+      @airport.plane_hangar << @plane\n+      @airport.weather = 1\n+      expect { @airport.takeoff(@plane) }.to raise_error #(@err2)","path":"spec/airport_spec.rb","position":61,"original_position":61,"commit_id":"5dbc2e11fe61162fd2cab61e8b7909c420e2ebe2","original_commit_id":"5dbc2e11fe61162fd2cab61e8b7909c420e2ebe2","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":"Missing space after #.","created_at":"2016-10-02T12:32:45Z","updated_at":"2016-10-02T12:32:45Z","html_url":"https://github.com/makersacademy/airport_challenge/pull/556#discussion_r81469412","pull_request_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/556","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/81469412"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/556#discussion_r81469412"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/556"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/556","id":87632695,"html_url":"https://github.com/makersacademy/airport_challenge/pull/556","diff_url":"https://github.com/makersacademy/airport_challenge/pull/556.diff","patch_url":"https://github.com/makersacademy/airport_challenge/pull/556.patch","issue_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/556","number":556,"state":"open","locked":false,"title":"Mike's airport_challenge submission","user":{"login":"LMCMLJ","id":15384686,"avatar_url":"https://avatars.githubusercontent.com/u/15384686?v=3","gravatar_id":"","url":"https://api.github.com/users/LMCMLJ","html_url":"https://github.com/LMCMLJ","followers_url":"https://api.github.com/users/LMCMLJ/followers","following_url":"https://api.github.com/users/LMCMLJ/following{/other_user}","gists_url":"https://api.github.com/users/LMCMLJ/gists{/gist_id}","starred_url":"https://api.github.com/users/LMCMLJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LMCMLJ/subscriptions","organizations_url":"https://api.github.com/users/LMCMLJ/orgs","repos_url":"https://api.github.com/users/LMCMLJ/repos","events_url":"https://api.github.com/users/LMCMLJ/events{/privacy}","received_events_url":"https://api.github.com/users/LMCMLJ/received_events","type":"User","site_admin":false},"body":"Just doing another check for hound and travis. Latest addition was coveralls test coverage integration and travis integration.","created_at":"2016-10-02T12:27:56Z","updated_at":"2016-10-02T12:32:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af5df1428ce415a6238b2040aba8239894a726cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/556/commits","review_comments_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/556/comments","review_comment_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/556/comments","statuses_url":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/5dbc2e11fe61162fd2cab61e8b7909c420e2ebe2","head":{"label":"LMCMLJ:master","ref":"master","sha":"5dbc2e11fe61162fd2cab61e8b7909c420e2ebe2","user":{"login":"LMCMLJ","id":15384686,"avatar_url":"https://avatars.githubusercontent.com/u/15384686?v=3","gravatar_id":"","url":"https://api.github.com/users/LMCMLJ","html_url":"https://github.com/LMCMLJ","followers_url":"https://api.github.com/users/LMCMLJ/followers","following_url":"https://api.github.com/users/LMCMLJ/following{/other_user}","gists_url":"https://api.github.com/users/LMCMLJ/gists{/gist_id}","starred_url":"https://api.github.com/users/LMCMLJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LMCMLJ/subscriptions","organizations_url":"https://api.github.com/users/LMCMLJ/orgs","repos_url":"https://api.github.com/users/LMCMLJ/repos","events_url":"https://api.github.com/users/LMCMLJ/events{/privacy}","received_events_url":"https://api.github.com/users/LMCMLJ/received_events","type":"User","site_admin":false},"repo":{"id":69738488,"name":"airport_challenge","full_name":"LMCMLJ/airport_challenge","owner":{"login":"LMCMLJ","id":15384686,"avatar_url":"https://avatars.githubusercontent.com/u/15384686?v=3","gravatar_id":"","url":"https://api.github.com/users/LMCMLJ","html_url":"https://github.com/LMCMLJ","followers_url":"https://api.github.com/users/LMCMLJ/followers","following_url":"https://api.github.com/users/LMCMLJ/following{/other_user}","gists_url":"https://api.github.com/users/LMCMLJ/gists{/gist_id}","starred_url":"https://api.github.com/users/LMCMLJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LMCMLJ/subscriptions","organizations_url":"https://api.github.com/users/LMCMLJ/orgs","repos_url":"https://api.github.com/users/LMCMLJ/repos","events_url":"https://api.github.com/users/LMCMLJ/events{/privacy}","received_events_url":"https://api.github.com/users/LMCMLJ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LMCMLJ/airport_challenge","description":"Fly!","fork":true,"url":"https://api.github.com/repos/LMCMLJ/airport_challenge","forks_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/forks","keys_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/teams","hooks_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/hooks","issue_events_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/issues/events{/number}","events_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/events","assignees_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/assignees{/user}","branches_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/branches{/branch}","tags_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/tags","blobs_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/languages","stargazers_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/stargazers","contributors_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/contributors","subscribers_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/subscribers","subscription_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/subscription","commits_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/contents/{+path}","compare_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/merges","archive_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/downloads","issues_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/issues{/number}","pulls_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/labels{/name}","releases_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/releases{/id}","deployments_url":"https://api.github.com/repos/LMCMLJ/airport_challenge/deployments","created_at":"2016-10-01T12:50:32Z","updated_at":"2016-10-01T12:50:34Z","pushed_at":"2016-10-02T12:32:33Z","git_url":"git://github.com/LMCMLJ/airport_challenge.git","ssh_url":"git@github.com:LMCMLJ/airport_challenge.git","clone_url":"https://github.com/LMCMLJ/airport_challenge.git","svn_url":"https://github.com/LMCMLJ/airport_challenge","homepage":"","size":120,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"260e84a7f2ec1fe5e3257ebcf1509ce99e75ce89","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27074983,"name":"airport_challenge","full_name":"makersacademy/airport_challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/airport_challenge","description":"Fly!","fork":false,"url":"https://api.github.com/repos/makersacademy/airport_challenge","forks_url":"https://api.github.com/repos/makersacademy/airport_challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/airport_challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/airport_challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/airport_challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/airport_challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/airport_challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/airport_challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/airport_challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/airport_challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/airport_challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/airport_challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/airport_challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/airport_challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/airport_challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/airport_challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/airport_challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/airport_challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/airport_challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/airport_challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/airport_challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/airport_challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/airport_challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/airport_challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/airport_challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/airport_challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/airport_challenge/releases{/id}","deployments_url":"https://api.github.com/repos/makersacademy/airport_challenge/deployments","created_at":"2014-11-24T12:30:39Z","updated_at":"2016-09-30T16:51:42Z","pushed_at":"2016-10-02T12:32:34Z","git_url":"git://github.com/makersacademy/airport_challenge.git","ssh_url":"git@github.com:makersacademy/airport_challenge.git","clone_url":"https://github.com/makersacademy/airport_challenge.git","svn_url":"https://github.com/makersacademy/airport_challenge","homepage":"","size":27016,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":517,"mirror_url":null,"open_issues_count":151,"forks":517,"open_issues":151,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/556"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/556"},"issue":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/556"},"comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/556/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/556/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/556/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/5dbc2e11fe61162fd2cab61e8b7909c420e2ebe2"}}}}
{"actor":{"display_login":"houndci-bot"}}