diff options
| author | Alban Peignier | 2018-04-22 17:46:50 +0200 | 
|---|---|---|
| committer | Alban Peignier | 2018-04-22 17:46:50 +0200 | 
| commit | 8eacb2238bb70f774f89d4cad4311725d826b2a0 (patch) | |
| tree | c1d688bd3d3551ec57f2c2c8a7e0cb4986a554d3 | |
| parent | f1ebe3db0b75d68de53c8e74a12f0a948e48e4b1 (diff) | |
| download | chouette-core-8eacb2238bb70f774f89d4cad4311725d826b2a0.tar.bz2 | |
Fixes JourneyPattern specs (by adding position in JourneyPattern state). Refs #6193
| -rw-r--r-- | spec/models/chouette/journey_pattern_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/spec/models/chouette/journey_pattern_spec.rb b/spec/models/chouette/journey_pattern_spec.rb index 1648c6ecb..57ee5ab4e 100644 --- a/spec/models/chouette/journey_pattern_spec.rb +++ b/spec/models/chouette/journey_pattern_spec.rb @@ -118,7 +118,7 @@ describe Chouette::JourneyPattern, :type => :model do        jp.attributes.slice('name', 'published_name', 'registration_number').tap do |item|          item['object_id']   = jp.objectid          item['stop_points'] = jp.stop_points.map do |sp| -          { 'id' => sp.stop_area_id } +          { 'id' => sp.stop_area_id, 'position' => sp.position }          end          item['costs'] = jp.costs        end | 
