{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/50639416","id":50639416,"diff_hunk":"@@ -0,0 +1,73 @@\n+require 'airport'\n+\n+describe Airport do\n+\n+  subject(:airport) { described_class.new }\n+\n+  let(:plane) { double (:plane) }\n+  let(:weather) { double (:weather) }\n+\n+  it 'has an Airport class' do\n+    expect(airport).to be_a(Airport)\n+  end\n+\n+  it 'has a constant CAPACITY with a default value of 5' do\n+    expect(Airport::CAPACITY).to eq(5)\n+  end\n+\n+  it 'can specify the value of CAPACITY when an Airport is instantiated' do\n+    test_capacity = rand(10) + 1\n+    test_airport = Airport.new(test_capacity)\n+    expect(test_airport.capacity).to eq(test_capacity)\n+  end\n+\n+  it 'can alter CAPACITY as needed (post-instantiation)' do\n+    new_capacity = 10\n+    airport.set_capacity(new_capacity)\n+    expect(airport.capacity).to eq(new_capacity)\n+  end\n+\n+  it 'has an array to store planes' do\n+    expect(airport.instance_variable_get(:@stored_planes)).to be_a(Array)\n+  end\n+\n+  it 'can display stored planes array' do\n+    expect(airport.instance_variable_get(:@stored_planes)).to eq(airport.stored_planes)\n+  end\n+\n+  it \"can call 'take_off' with an arguement\" do\n+    expect(airport).to respond_to(:take_off).with(2).argument\n+  end\n+\n+  it 'stores planes that land' do\n+    (airport.stored_planes) << plane\n+    expect(airport.stored_planes.pop).to eq (plane)","path":"spec/aiport_spec.rb","position":44,"original_position":44,"commit_id":"e64a516f680d4c86c3b2605ddc1c9e5eed42adb3","original_commit_id":"e64a516f680d4c86c3b2605ddc1c9e5eed42adb3","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":"Lint/ParenthesesAsGroupedExpression: `(...)` interpreted as grouped expression. (https://github.com/bbatsov/ruby-style-guide#parens-no-spaces)<br>Style/RedundantParentheses: Don't use parentheses around a method call.","created_at":"2016-01-24T18:13:38Z","updated_at":"2016-01-24T18:13:38Z","html_url":"https://github.com/makersacademy/airport_challenge/pull/311#discussion_r50639416","pull_request_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/311","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/comments/50639416"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/311#discussion_r50639416"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/311"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/311","id":57009503,"html_url":"https://github.com/makersacademy/airport_challenge/pull/311","diff_url":"https://github.com/makersacademy/airport_challenge/pull/311.diff","patch_url":"https://github.com/makersacademy/airport_challenge/pull/311.patch","issue_url":"https://api.github.com/repos/makersacademy/airport_challenge/issues/311","number":311,"state":"open","locked":false,"title":"Airport Challenge - Initial pull","user":{"login":"MatDrake","id":15964844,"avatar_url":"https://avatars.githubusercontent.com/u/15964844?v=3","gravatar_id":"","url":"https://api.github.com/users/MatDrake","html_url":"https://github.com/MatDrake","followers_url":"https://api.github.com/users/MatDrake/followers","following_url":"https://api.github.com/users/MatDrake/following{/other_user}","gists_url":"https://api.github.com/users/MatDrake/gists{/gist_id}","starred_url":"https://api.github.com/users/MatDrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatDrake/subscriptions","organizations_url":"https://api.github.com/users/MatDrake/orgs","repos_url":"https://api.github.com/users/MatDrake/repos","events_url":"https://api.github.com/users/MatDrake/events{/privacy}","received_events_url":"https://api.github.com/users/MatDrake/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-24T18:13:34Z","updated_at":"2016-01-24T18:13:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0427810417b392b4156e6734d7f43a0651369bbf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/311/commits","review_comments_url":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/311/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/311/comments","statuses_url":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/e64a516f680d4c86c3b2605ddc1c9e5eed42adb3","head":{"label":"MatDrake:master","ref":"master","sha":"e64a516f680d4c86c3b2605ddc1c9e5eed42adb3","user":{"login":"MatDrake","id":15964844,"avatar_url":"https://avatars.githubusercontent.com/u/15964844?v=3","gravatar_id":"","url":"https://api.github.com/users/MatDrake","html_url":"https://github.com/MatDrake","followers_url":"https://api.github.com/users/MatDrake/followers","following_url":"https://api.github.com/users/MatDrake/following{/other_user}","gists_url":"https://api.github.com/users/MatDrake/gists{/gist_id}","starred_url":"https://api.github.com/users/MatDrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatDrake/subscriptions","organizations_url":"https://api.github.com/users/MatDrake/orgs","repos_url":"https://api.github.com/users/MatDrake/repos","events_url":"https://api.github.com/users/MatDrake/events{/privacy}","received_events_url":"https://api.github.com/users/MatDrake/received_events","type":"User","site_admin":false},"repo":{"id":50255601,"name":"airport_challenge","full_name":"MatDrake/airport_challenge","owner":{"login":"MatDrake","id":15964844,"avatar_url":"https://avatars.githubusercontent.com/u/15964844?v=3","gravatar_id":"","url":"https://api.github.com/users/MatDrake","html_url":"https://github.com/MatDrake","followers_url":"https://api.github.com/users/MatDrake/followers","following_url":"https://api.github.com/users/MatDrake/following{/other_user}","gists_url":"https://api.github.com/users/MatDrake/gists{/gist_id}","starred_url":"https://api.github.com/users/MatDrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatDrake/subscriptions","organizations_url":"https://api.github.com/users/MatDrake/orgs","repos_url":"https://api.github.com/users/MatDrake/repos","events_url":"https://api.github.com/users/MatDrake/events{/privacy}","received_events_url":"https://api.github.com/users/MatDrake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MatDrake/airport_challenge","description":"Fly!","fork":true,"url":"https://api.github.com/repos/MatDrake/airport_challenge","forks_url":"https://api.github.com/repos/MatDrake/airport_challenge/forks","keys_url":"https://api.github.com/repos/MatDrake/airport_challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MatDrake/airport_challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MatDrake/airport_challenge/teams","hooks_url":"https://api.github.com/repos/MatDrake/airport_challenge/hooks","issue_events_url":"https://api.github.com/repos/MatDrake/airport_challenge/issues/events{/number}","events_url":"https://api.github.com/repos/MatDrake/airport_challenge/events","assignees_url":"https://api.github.com/repos/MatDrake/airport_challenge/assignees{/user}","branches_url":"https://api.github.com/repos/MatDrake/airport_challenge/branches{/branch}","tags_url":"https://api.github.com/repos/MatDrake/airport_challenge/tags","blobs_url":"https://api.github.com/repos/MatDrake/airport_challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MatDrake/airport_challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MatDrake/airport_challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/MatDrake/airport_challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MatDrake/airport_challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/MatDrake/airport_challenge/languages","stargazers_url":"https://api.github.com/repos/MatDrake/airport_challenge/stargazers","contributors_url":"https://api.github.com/repos/MatDrake/airport_challenge/contributors","subscribers_url":"https://api.github.com/repos/MatDrake/airport_challenge/subscribers","subscription_url":"https://api.github.com/repos/MatDrake/airport_challenge/subscription","commits_url":"https://api.github.com/repos/MatDrake/airport_challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/MatDrake/airport_challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/MatDrake/airport_challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/MatDrake/airport_challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/MatDrake/airport_challenge/contents/{+path}","compare_url":"https://api.github.com/repos/MatDrake/airport_challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MatDrake/airport_challenge/merges","archive_url":"https://api.github.com/repos/MatDrake/airport_challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MatDrake/airport_challenge/downloads","issues_url":"https://api.github.com/repos/MatDrake/airport_challenge/issues{/number}","pulls_url":"https://api.github.com/repos/MatDrake/airport_challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/MatDrake/airport_challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/MatDrake/airport_challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MatDrake/airport_challenge/labels{/name}","releases_url":"https://api.github.com/repos/MatDrake/airport_challenge/releases{/id}","deployments_url":"https://api.github.com/repos/MatDrake/airport_challenge/deployments","created_at":"2016-01-23T19:55:30Z","updated_at":"2016-01-23T19:55:30Z","pushed_at":"2016-01-24T18:11:07Z","git_url":"git://github.com/MatDrake/airport_challenge.git","ssh_url":"git@github.com:MatDrake/airport_challenge.git","clone_url":"https://github.com/MatDrake/airport_challenge.git","svn_url":"https://github.com/MatDrake/airport_challenge","homepage":"","size":103,"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":"3b2a5e2f27aa371bdcb3bc6c79d96cf1aee77e4b","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-01-22T15:59:04Z","pushed_at":"2016-01-24T18:13:37Z","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":19895,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":269,"mirror_url":null,"open_issues_count":71,"forks":269,"open_issues":71,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/311"},"html":{"href":"https://github.com/makersacademy/airport_challenge/pull/311"},"issue":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/311"},"comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/issues/311/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/pulls/311/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/311/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/airport_challenge/statuses/e64a516f680d4c86c3b2605ddc1c9e5eed42adb3"}}}}