-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Archie Martin Airport Challenge #2507
base: main
Are you sure you want to change the base?
Conversation
…t up classes, and planes can exist in two places at once...sorry for not committing enough :(
…ests will pass regarding anything to do with landing/taking_off. I'm done for tonight.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really enjoyed reading your code. I loved how simply you pieced together the objects and method in
@@ -0,0 +1,103 @@ | |||
require 'airport.rb' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, I appreciate your use of Single Responsibility Principle. It make the code super readable with names that makes sense.
expect(port.send(:full?)).to eq false | ||
end | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good that you described the method within the class before testing it.
end | ||
|
||
describe Plane do | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps you could have used a separate new doc and spec_helper for the Plane class.
Your name
Archie Martin
Please write your full name here to make it easier to find your pull request.
User stories
Please list which user stories you've implemented (delete the ones that don't apply).
README checklist
Does your README contains instructions for
Here is a pill that can help you write a great README!