diff options
| author | Teddy Wing | 2017-05-24 12:16:55 +0200 |
|---|---|---|
| committer | Robert | 2017-05-29 08:49:52 +0200 |
| commit | 273b652ff7d0d18b90ce7ec4e92e6418f5e7a867 (patch) | |
| tree | e6c0e97931c78c0c1251a9c92fbf197b43b57f62 | |
| parent | 49fda7e568f33add59086274b66349363cbf7d7d (diff) | |
| download | chouette-core-273b652ff7d0d18b90ce7ec4e92e6418f5e7a867.tar.bz2 | |
IncreasingTimeOrderValidator: Rename spec
We had moved this test from the `VehicleJourney` specs. Previously, it
used to live in a "when following departure times exceeds gap" context.
Without that context, the name no longer made sense. Fix the name to say
what's actually going on.
Refs #870
| -rw-r--r-- | spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_time_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_time_order_validator_spec.rb b/spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_time_order_validator_spec.rb index 040b9db19..f8d5b9ae4 100644 --- a/spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_time_order_validator_spec.rb +++ b/spec/models/chouette/vehicle_journey_at_stops_are_in_increasing_time_order_validator_spec.rb @@ -13,7 +13,7 @@ describe Chouette::VehicleJourneyAtStopsAreInIncreasingTimeOrderValidator do subject.vehicle_journey_at_stops[1].departure_time end - it "should make instance invalid" do + it "should make instance invalid if departure time exceeds gap" do subject.validate expect( |
