Skip to content

Commit

Permalink
Merge pull request #43 from routific/fix-total-overtime
Browse files Browse the repository at this point in the history
Change total_overtime to total_vehicle_overtime
  • Loading branch information
rogertsui0923 committed Oct 16, 2017
2 parents 3c3d4b3 + 18b41a6 commit 2a0250c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/routific/route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Route
:total_working_time, :total_travel_time,
:total_break_time, :total_idle_time,
:total_visit_lateness, :num_late_visits,
:vehicle_overtime, :total_overtime
:vehicle_overtime, :total_vehicle_overtime
]

attr_reader *FIELDS
Expand Down
2 changes: 1 addition & 1 deletion spec/helper/factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class Factory
total_visit_lateness: 60,
num_late_visits: 2,
vehicle_overtime: 70,
total_overtime: 80
total_vehicle_overtime: 80
}
ROUTE = RoutificApi::Route.new(ROUTE_INPUT)
SOLUTION = {
Expand Down

0 comments on commit 2a0250c

Please sign in to comment.