diff options
| author | Teddy Wing | 2017-05-23 15:34:19 +0200 |
|---|---|---|
| committer | Robert | 2017-05-29 08:49:52 +0200 |
| commit | 100a89a8c11b8e14869da18c32134ac89b2fb0ef (patch) | |
| tree | 6ace531e7fa6681989d6c64c0ee54351385b28b0 /spec | |
| parent | 95ebdc82c85acdf7cae208294a750e40e9e418c2 (diff) | |
| download | chouette-core-100a89a8c11b8e14869da18c32134ac89b2fb0ef.tar.bz2 | |
Rename `VehicleJourneyAtStopsAreInIncreasingOrderValidator`
Add `Time` to the validator's name because "increasing order" doesn't
seem specific enough. Order could be based on anything, like ID. We're
specifically validating the times of the at-stops.
Refs #870
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_time_order_validator_spec.rb (renamed from spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_order_validator_spec.rb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_order_validator_spec.rb b/spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_time_order_validator_spec.rb index 6c5541edd..ea161ec79 100644 --- a/spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_order_validator_spec.rb +++ b/spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_time_order_validator_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -describe Chouette::VehicleJourneyAtStopsAreInIncreasingOrderValidator do +describe Chouette::VehicleJourneyAtStopsAreInIncreasingTimeOrderValidator do subject { create(:vehicle_journey_odd) } describe "#increasing_times" do |
