-
Notifications
You must be signed in to change notification settings - Fork 29
Space - Jessica, Nikki, Katie #3
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
base: master
Are you sure you want to change the base?
Conversation
…river.status to UNAVAILABLE
OO Ride ShareMajor Learning Goals/Code Review
Testing Requirements
Overall Feedback
Code Style Bonus AwardsWas the code particularly impressive in code style for any of these reasons (or more...?)
SummaryNice work, you hit all the learning goals here. Great work on getting wave 4 working as well. Excellent work. |
| @passenger.add_trip(trip2) | ||
| end | ||
|
|
||
| describe "net_expenditures" 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.
You should also go back and add tests for incomplete trips.
| expect(@driver.total_revenue).must_equal 0 | ||
| end | ||
|
|
||
| it "returns accurate drivers revenue when in progress trips" 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.
Nice!
| picked_driver = "" | ||
| oldest_end_time = Time.now | ||
|
|
||
| available_drivers.each do |driver| |
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.
Awesome!
Assignment Submission: OO Ride Share
Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.
Reflection