diff options
| author | Teddy Wing | 2017-05-23 15:21:32 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-05-26 13:20:55 +0200 |
| commit | 3082bcfa0b0b0b46f5a1c2470ba90f9dc140f644 (patch) | |
| tree | 6e210d37eb49ddf48c9e7749dcae10fe8619aa3e /script | |
| parent | efc870b9b54ae6ac36d6604a2cae3ba9780b85da (diff) | |
| download | chouette-core-3082bcfa0b0b0b46f5a1c2470ba90f9dc140f644.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 'script')
0 files changed, 0 insertions, 0 deletions
