{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/35491464","id":35491464,"diff_hunk":"@@ -16,14 +17,41 @@\n \n describe Plane do\n \n-  xit 'is flying when created'\n-\n-  xit 'can land'\n-\n-  xit 'is landed after landing'\n-\n-  xit 'can take off'\n-\n-  xit 'is flying after take off'\n+  it 'is flying when created' do\n+  \texpect(subject).to be_flying\n+  end\n+\n+  it 'can land' do\n+    airport = double()\n+    allow(airport).to receive(:plane_in).with(subject)\n+  \texpect(subject.land airport).not_to be @flying\n+  end\n+\n+  it 'is landed after landing' do\n+    airport = double()\n+    allow(airport).to receive(:plane_in).with(subject).and_return(true) # bring this up in stand up\n+    subject.land airport\n+  \texpect(subject).not_to be_flying\n+  end\n+\n+  it 'keeps flying if can\\'t land' do\n+    airport = double()\n+    allow(airport).to receive(:plane_in).and_return(false)\n+    Plane.new.land airport\n+    expect(Plane.new.land airport).to be true #another cheat\n+  end \n+\n+  it 'can take off' do\n+  \tairport = double()\n+    allow(airport).to receive(:plane_out)\n+  \texpect(subject.take_off airport).to be true # this is a cheat. fix.\n+  end\n+\n+  it 'is flying after take off' do\n+    airport = double()","path":"spec/plane_spec.rb","position":50,"original_position":50,"commit_id":"8f2afbae75a88e7b1e456f90d6622efb9cbf14db","original_commit_id":"8f2afbae75a88e7b1e456f90d6622efb9cbf14db","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":"Do not use parentheses for method calls with no arguments.","created_at":"2015-07-26T10:52:53Z","updated_at":"2015-07-26T10:52:53Z","html_url":"https://github.com/makersacademy/airport_challenge/pull/93#discussion_r35491464","pull_request_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/93","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/35491464"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/93#discussion_r35491464"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/93","id":40794083,"html_url":"https://github.com/makersacademy/airport_challenge/pull/93","diff_url":"https://github.com/makersacademy/airport_challenge/pull/93.diff","patch_url":"https://github.com/makersacademy/airport_challenge/pull/93.patch","issue_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/93","number":93,"state":"open","locked":false,"title":"Haroon airport challenge","user":{"login":"haroonhassan","id":12909798,"avatar_url":"https://avatars.githubusercontent.com/u/12909798?v=3","gravatar_id":"","url":"https://api.github.com/users/haroonhassan","html_url":"https://github.com/haroonhassan","followers_url":"https://api.github.com/users/haroonhassan/followers","following_url":"https://api.github.com/users/haroonhassan/following{/other_user}","gists_url":"https://api.github.com/users/haroonhassan/gists{/gist_id}","starred_url":"https://api.github.com/users/haroonhassan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haroonhassan/subscriptions","organizations_url":"https://api.github.com/users/haroonhassan/orgs","repos_url":"https://api.github.com/users/haroonhassan/repos","events_url":"https://api.github.com/users/haroonhassan/events{/privacy}","received_events_url":"https://api.github.com/users/haroonhassan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-24T16:51:07Z","updated_at":"2015-07-26T10:52:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fd537c7edcb3fe99c9eb3ebf4b39b419f2d37f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/93/commits","review_comments_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/93/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/93/comments","statuses_url":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/8f2afbae75a88e7b1e456f90d6622efb9cbf14db","head":{"label":"haroonhassan:master","ref":"master","sha":"8f2afbae75a88e7b1e456f90d6622efb9cbf14db","user":{"login":"haroonhassan","id":12909798,"avatar_url":"https://avatars.githubusercontent.com/u/12909798?v=3","gravatar_id":"","url":"https://api.github.com/users/haroonhassan","html_url":"https://github.com/haroonhassan","followers_url":"https://api.github.com/users/haroonhassan/followers","following_url":"https://api.github.com/users/haroonhassan/following{/other_user}","gists_url":"https://api.github.com/users/haroonhassan/gists{/gist_id}","starred_url":"https://api.github.com/users/haroonhassan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haroonhassan/subscriptions","organizations_url":"https://api.github.com/users/haroonhassan/orgs","repos_url":"https://api.github.com/users/haroonhassan/repos","events_url":"https://api.github.com/users/haroonhassan/events{/privacy}","received_events_url":"https://api.github.com/users/haroonhassan/received_events","type":"User","site_admin":false},"repo":{"id":39643946,"name":"airport_challenge","full_name":"haroonhassan/airport_challenge","owner":{"login":"haroonhassan","id":12909798,"avatar_url":"https://avatars.githubusercontent.com/u/12909798?v=3","gravatar_id":"","url":"https://api.github.com/users/haroonhassan","html_url":"https://github.com/haroonhassan","followers_url":"https://api.github.com/users/haroonhassan/followers","following_url":"https://api.github.com/users/haroonhassan/following{/other_user}","gists_url":"https://api.github.com/users/haroonhassan/gists{/gist_id}","starred_url":"https://api.github.com/users/haroonhassan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haroonhassan/subscriptions","organizations_url":"https://api.github.com/users/haroonhassan/orgs","repos_url":"https://api.github.com/users/haroonhassan/repos","events_url":"https://api.github.com/users/haroonhassan/events{/privacy}","received_events_url":"https://api.github.com/users/haroonhassan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haroonhassan/airport_challenge","description":"Fly!","fork":true,"url":"https://api.github.com/repos/haroonhassan/airport_challenge","forks_url":"https://api.github.com/repos/haroonhassan/airport_challenge/forks","keys_url":"https://api.github.com/repos/haroonhassan/airport_challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haroonhassan/airport_challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haroonhassan/airport_challenge/teams","hooks_url":"https://api.github.com/repos/haroonhassan/airport_challenge/hooks","issue_events_url":"https://api.github.com/repos/haroonhassan/airport_challenge/issues/events{/number}","events_url":"https://api.github.com/repos/haroonhassan/airport_challenge/events","assignees_url":"https://api.github.com/repos/haroonhassan/airport_challenge/assignees{/user}","branches_url":"https://api.github.com/repos/haroonhassan/airport_challenge/branches{/branch}","tags_url":"https://api.github.com/repos/haroonhassan/airport_challenge/tags","blobs_url":"https://api.github.com/repos/haroonhassan/airport_challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haroonhassan/airport_challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haroonhassan/airport_challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/haroonhassan/airport_challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haroonhassan/airport_challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/haroonhassan/airport_challenge/languages","stargazers_url":"https://api.github.com/repos/haroonhassan/airport_challenge/stargazers","contributors_url":"https://api.github.com/repos/haroonhassan/airport_challenge/contributors","subscribers_url":"https://api.github.com/repos/haroonhassan/airport_challenge/subscribers","subscription_url":"https://api.github.com/repos/haroonhassan/airport_challenge/subscription","commits_url":"https://api.github.com/repos/haroonhassan/airport_challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/haroonhassan/airport_challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/haroonhassan/airport_challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/haroonhassan/airport_challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/haroonhassan/airport_challenge/contents/{+path}","compare_url":"https://api.github.com/repos/haroonhassan/airport_challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haroonhassan/airport_challenge/merges","archive_url":"https://api.github.com/repos/haroonhassan/airport_challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haroonhassan/airport_challenge/downloads","issues_url":"https://api.github.com/repos/haroonhassan/airport_challenge/issues{/number}","pulls_url":"https://api.github.com/repos/haroonhassan/airport_challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/haroonhassan/airport_challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/haroonhassan/airport_challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haroonhassan/airport_challenge/labels{/name}","releases_url":"https://api.github.com/repos/haroonhassan/airport_challenge/releases{/id}","created_at":"2015-07-24T16:07:13Z","updated_at":"2015-07-24T16:07:14Z","pushed_at":"2015-07-26T10:52:48Z","git_url":"git://github.com/haroonhassan/airport_challenge.git","ssh_url":"git@github.com:haroonhassan/airport_challenge.git","clone_url":"https://github.com/haroonhassan/airport_challenge.git","svn_url":"https://github.com/haroonhassan/airport_challenge","homepage":"","size":114,"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":"bc7464938497f58404dc4037ecc5806d399ad517","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}","created_at":"2014-11-24T12:30:39Z","updated_at":"2015-06-13T06:36:50Z","pushed_at":"2015-07-26T10:52:49Z","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":2695,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":110,"mirror_url":null,"open_issues_count":33,"forks":110,"open_issues":33,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/93"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/93"},"issue":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/93"},"comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/93/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/93/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/8f2afbae75a88e7b1e456f90d6622efb9cbf14db"}}}}