aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sql
diff options
context:
space:
mode:
authorTeddy Wing2017-05-24 12:10:56 +0200
committerRobert2017-05-29 08:49:52 +0200
commit49fda7e568f33add59086274b66349363cbf7d7d (patch)
treeb6cd9bbcb678ca6b6f95a6ad6b56edfe9b10637f /lib/sql
parent6dcca154825e12278849c8d3d1cacdbd8410c312 (diff)
downloadchouette-core-49fda7e568f33add59086274b66349363cbf7d7d.tar.bz2
IncreasingTimeOrderValidator: Move #increasing_times to #validate_each
Get rid of the `#increasing_times` method since it no longer made sense to me to keep it separate. We're not doing anything extra in `#validate_each`, the only place where it's called, so move the method's contents to `#validate_each`. Rename the `record` argument to `vehicle_journey` as I expect this validator to only be used on a `VehicleJourney`. Rename the `describe` in the specs because we're not actually calling `#increasing_times` in the spec. Refs #870
Diffstat (limited to 'lib/sql')
0 files changed, 0 insertions, 0 deletions