Skip to content
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

Queues - Cara Comfort - RideShare 2 #35

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
03f5be1
Content added to Rakefile
cecomfort Mar 7, 2017
bc22c1c
Added driver file
cecomfort Mar 7, 2017
43dfc31
Added trip file
cecomfort Mar 7, 2017
1a6be89
Added rider file
cecomfort Mar 7, 2017
5ec6a96
Added spec files for classes
cecomfort Mar 7, 2017
f2a2db0
Past first initialize test for Driver
cecomfort Mar 7, 2017
288b9bc
Added spec_helper to spec files
cecomfort Mar 7, 2017
63d03c6
Driver -> takes a name, VIN, and ID
cecomfort Mar 7, 2017
a959e5f
Added InvalidVinError class
cecomfort Mar 7, 2017
8ca1d89
driver raises InvalidVinError for invalid vin
cecomfort Mar 7, 2017
a43a90a
Outlined rest of Driver spec tests
cecomfort Mar 7, 2017
c9e26fc
Driver.all returns an array
cecomfort Mar 7, 2017
ee1ce68
Driver.all returns array of driver objs
cecomfort Mar 7, 2017
2a2eaaf
Driver.all returns the correct number of drivers
cecomfort Mar 7, 2017
0eef503
completed Driver.all and Driver.find
cecomfort Mar 8, 2017
e85e321
Rider -> constructor tests
cecomfort Mar 8, 2017
7831a08
Rider -> initialize defined
cecomfort Mar 8, 2017
687b478
Rider -> outlined spec tests
cecomfort Mar 8, 2017
c327831
Rider -> self.all
cecomfort Mar 8, 2017
64b27d3
Rider -> Rider.find complete
cecomfort Mar 8, 2017
6dcb373
Trip -> can be instantiated with args
cecomfort Mar 8, 2017
ef610b1
Trip -> rating must be an int
cecomfort Mar 8, 2017
37a20e5
Renamed invalid_vin_error to custom_errors
cecomfort Mar 8, 2017
012b804
Cutom_errors -> defined invalid rating error
cecomfort Mar 8, 2017
35a531c
Driver -> VIN must be a string
cecomfort Mar 8, 2017
107a568
Trip-> driver method complete
cecomfort Mar 8, 2017
64939a4
Trip -> rider method complete
cecomfort Mar 8, 2017
59ab5bb
Trip -> self.all complete
cecomfort Mar 10, 2017
951d3e9
Trip -> find_all_for_driver returns an array of Trips
cecomfort Mar 10, 2017
313952a
Trip -> find_all_for_driver returns correct trips from csv file
cecomfort Mar 10, 2017
507183c
Trip -> find_all_for_rider complete
cecomfort Mar 10, 2017
34f25cc
Driver -> Trips method complete
cecomfort Mar 11, 2017
c177ebd
Rider -> Trips method compelte
cecomfort Mar 11, 2017
bc09482
Driver -> avg rating complete
cecomfort Mar 11, 2017
aa7ad95
Rider -> wrote tests for drivers method
cecomfort Mar 13, 2017
40e09d3
Rider -> drivers method complete
cecomfort Mar 13, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cutom_errors -> defined invalid rating error
cecomfort committed Mar 8, 2017
commit 012b8040858d883766dea7addc41a64d4ce2f179
3 changes: 3 additions & 0 deletions lib/custom_errors.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module RideShare
class InvalidVinError < StandardError
end

class InvalidRatingError < StandardError
end
end