aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedricnjanga2017-09-21 17:48:38 +0200
committercedricnjanga2017-09-21 17:48:38 +0200
commitc3c5e03f93c9ac4bbc483b7bf9271280d95ba667 (patch)
tree8a56687d7e2e64c4d21b565f94d8a336650dcd29
parent95efd2d3bf7dea6c2f659d42d1c37cbb2a5fd831 (diff)
downloadchouette-core-c3c5e03f93c9ac4bbc483b7bf9271280d95ba667.tar.bz2
Fix test on vehicle journey at stop
-rw-r--r--spec/models/chouette/vehicle_journey_at_stop_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/chouette/vehicle_journey_at_stop_spec.rb b/spec/models/chouette/vehicle_journey_at_stop_spec.rb
index 4f9d12730..03e6fcb7d 100644
--- a/spec/models/chouette/vehicle_journey_at_stop_spec.rb
+++ b/spec/models/chouette/vehicle_journey_at_stop_spec.rb
@@ -51,7 +51,7 @@ RSpec.describe Chouette::VehicleJourneyAtStop, type: :model do
)
error_message = I18n.t(
'vehicle_journey_at_stops.errors.day_offset_must_not_exceed_max',
- local_id: at_stop.vehicle_journey.objectid.local_id,
+ short_id: at_stop.vehicle_journey.objectid.short_id,
max: bad_offset
)