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 - Anna Barklund - ride-share-two #44

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b122f93
Initial setup according to instructions in Phase 3 done
amb54 Mar 7, 2017
edd84cd
Driver#self.all tested and passed. Introduced two drivers_spec csv fi…
amb54 Mar 7, 2017
7dd5f1f
Two tests for Driver#self.find passed
amb54 Mar 7, 2017
32f8e50
Setup of trip_spec.rb and trip.rb. #initialize tested and passed. Cre…
amb54 Mar 7, 2017
7777778
Introduced let()in trip_spec.rb. Tested Trip#self.all ans passed. Cle…
amb54 Mar 7, 2017
98569c6
Changed to CSV.foreach in Trip and Driver. Updated all _spec_.csv sup…
amb54 Mar 7, 2017
135dd27
Change #self.find* in Trip and Driver to use select instead of each
amb54 Mar 7, 2017
1b46134
Trip#all_trips_for_rider tested and passed
amb54 Mar 7, 2017
af9a26b
Added #find_driver and #find_rider to Trip. #find_driver tested and p…
amb54 Mar 8, 2017
bdeb1f4
Updated spec_helper with path to rider.rb. Rider#initialize test passed.
amb54 Mar 8, 2017
8df6c8e
Rider#self.all tested and passed
amb54 Mar 8, 2017
ab581b5
Rider#self.find tested and passed. Rider#list_of_trips created (alrea…
amb54 Mar 8, 2017
a0f9042
Trip#find_rider tested and passed. Also tested via Rider class.
amb54 Mar 8, 2017
9d26a44
First version of Driver#average_rating tested and passed
amb54 Mar 10, 2017
371f2af
first version of Rider#previous_riders tested and passed
amb54 Mar 10, 2017
593679a
Introduced a EXPLORE DATA section in rider_spec and driver_spec. Thes…
amb54 Mar 10, 2017
743c051
Uppdated Rider#self.find with begin/rescue. It will now return nil if…
amb54 Mar 10, 2017
214a036
Created Trip#self.find tested and passed primarely to find trips to u…
amb54 Mar 10, 2017
e9e906c
Added tests (that passed) to Trip#self.find_all_trips_for_driver and …
amb54 Mar 10, 2017
3608ced
Added tests to Trip#find_rider(they passed)
amb54 Mar 10, 2017
2313ddd
Changed Driver#initialize and Driver#self.all to handle hash instead …
amb54 Mar 11, 2017
def67da
Added ArgumentErrors to Driver#initialize and Driver#self.all with su…
amb54 Mar 11, 2017
390aba5
Uppdated support/drivers_spec2.csv to include more test cases. Uppdat…
amb54 Mar 11, 2017
59a9987
Changed Trip#initialze parameters to accept a hash. Added tests for m…
amb54 Mar 12, 2017
0b4d66a
Changed Rider#initialize and Rider#self.all. Added tests for the meth…
amb54 Mar 13, 2017
85c681f
Cleaned up code for Drivers, Trip and Riders (removed commented out c…
amb54 Mar 13, 2017
24fc4d0
Added describe #list_of_trips do to driver_spec.rb. Added a test …
amb54 Mar 13, 2017
6f31538
Added describe #list_of_trips do to rider_spec.rb. Added a test t…
amb54 Mar 13, 2017
364ebe8
Cleaned upp code in trip.rb
amb54 Mar 13, 2017
c621c5b
Changed requirement for how many characters a name must have in Driver
amb54 Mar 13, 2017
2e8f8a4
Added a test for Trip#initialize
amb54 Mar 13, 2017
59625fa
Created support/riders_spec_false.csv for testing of Rider#self.all. …
amb54 Mar 13, 2017
00ff168
Version to submit
amb54 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
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
# Fill me in!
require 'rake/testtask'

Rake::TestTask.new do |t|
t.libs = ["lib"]
t.warning = true
t.test_files = FileList['specs/*_spec.rb']
end

task default: :test
5 changes: 5 additions & 0 deletions coverage/.last_run.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"result": {
"covered_percent": 100.0
}
}
Loading