diff options
| author | Teddy Wing | 2017-05-24 12:16:55 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-05-26 13:20:56 +0200 |
| commit | 3564ad224a4f1e3a409e44a31950184e75920f2e (patch) | |
| tree | bf21ad7bb9e58eec5c861702c08226f8db799efc | |
| parent | f41c4948f83978ce7583644483c78979e30d9353 (diff) | |
| download | chouette-core-3564ad224a4f1e3a409e44a31950184e75920f2e.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( |
