diff options
| author | Zog | 2018-02-20 10:34:42 +0100 | 
|---|---|---|
| committer | Zog | 2018-02-20 10:34:42 +0100 | 
| commit | d0163321a875a64b8f1e15a614d18663d013da3c (patch) | |
| tree | 5fc4a1402c0c862e759dd161a5af100f2d5e0616 | |
| parent | f77c01daa40cb389a8eacc8403bd3adb035e2930 (diff) | |
| download | chouette-core-d0163321a875a64b8f1e15a614d18663d013da3c.tar.bz2 | |
Fix specs on VehicleJourneyAtStop
| -rw-r--r-- | spec/models/chouette/vehicle_journey_at_stop_spec.rb | 2 | 
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) | 
