diff options
| author | Teddy Wing | 2017-05-23 15:21:32 +0200 |
|---|---|---|
| committer | Robert | 2017-05-29 08:49:52 +0200 |
| commit | 95ebdc82c85acdf7cae208294a750e40e9e418c2 (patch) | |
| tree | 5280c2669134c4bc44432f5baada1bf3fe3c546f /lib/sql | |
| parent | 9aaa337d0b5e44736834f98f9aca8b4f31c63afc (diff) | |
| download | chouette-core-95ebdc82c85acdf7cae208294a750e40e9e418c2.tar.bz2 | |
VehicleJourney: Move `#increasing_times` validator to a new class
Create a new validator class for this validation. By splitting the
increasing time validation into a separate group, we can unify the
functionality that's currently split between `VehicleJourney` and
`VehicleJourneyAtStop`. This will allow us to go to a single place to
look for the validation.
Move the `#increasing_times` method into our new class with minor
modification to make it work. Move the test for the method into a new
spec file.
Refs #870
Diffstat (limited to 'lib/sql')
0 files changed, 0 insertions, 0 deletions
