aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-02-20 10:34:42 +0100
committerZog2018-02-20 10:34:42 +0100
commitd0163321a875a64b8f1e15a614d18663d013da3c (patch)
tree5fc4a1402c0c862e759dd161a5af100f2d5e0616
parentf77c01daa40cb389a8eacc8403bd3adb035e2930 (diff)
downloadchouette-core-d0163321a875a64b8f1e15a614d18663d013da3c.tar.bz2
Fix specs on VehicleJourneyAtStop
-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 a97559a0c..f79d19c88 100644
--- a/spec/models/chouette/vehicle_journey_at_stop_spec.rb
+++ b/spec/models/chouette/vehicle_journey_at_stop_spec.rb
@@ -10,7 +10,7 @@ RSpec.describe Chouette::VehicleJourneyAtStop, type: :model do
context '#checksum_attributes' do
it 'should return attributes' do
- expected = [at_stop.departure_time.to_s(:time), at_stop.arrival_time.to_s(:time)]
+ expected = [at_stop.departure_time.utc.to_s(:time), at_stop.arrival_time.utc.to_s(:time)]
expected << at_stop.departure_day_offset.to_s
expected << at_stop.arrival_day_offset.to_s
expect(at_stop.checksum_attributes).to include(*expected)