aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorTeddy Wing2017-05-23 15:21:32 +0200
committerTeddy Wing2017-05-26 13:20:55 +0200
commit3082bcfa0b0b0b46f5a1c2470ba90f9dc140f644 (patch)
tree6e210d37eb49ddf48c9e7749dcae10fe8619aa3e /script
parentefc870b9b54ae6ac36d6604a2cae3ba9780b85da (diff)
downloadchouette-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