diff options
| author | jpl | 2017-02-27 19:13:40 +0100 |
|---|---|---|
| committer | jpl | 2017-02-27 19:13:40 +0100 |
| commit | e402b2373601ecd97458a09af0bf310898322ccf (patch) | |
| tree | 58ef38e9ee398efb685a215e8777f94de212515c /spec | |
| parent | 600e47f093597580178e3e2fbb0cf766014e6d92 (diff) | |
| download | chouette-core-e402b2373601ecd97458a09af0bf310898322ccf.tar.bz2 | |
Refs #2648: fix tests (typo 666 667 club)
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/chouette/route_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/chouette/route_spec.rb b/spec/models/chouette/route_spec.rb index 11c455ab6..e24e16b18 100644 --- a/spec/models/chouette/route_spec.rb +++ b/spec/models/chouette/route_spec.rb @@ -108,7 +108,7 @@ describe Chouette::Route, :type => :model do end it "should have swap stop_points from route's journey pattern" do subject.update_attributes( :stop_points_attributes => swapped_stop_hash) - expect(Chouette::JourneyPattern.find( journey_pattern.id ).stop_points.map(&:id)).sort.to eq(new_stop_id_list.sort) + expect(Chouette::JourneyPattern.find( journey_pattern.id ).stop_points.map(&:id).sort).to eq(new_stop_id_list.sort) end it "should have swap stop_points from route's vehicle journey at stop" do subject.update_attributes( :stop_points_attributes => swapped_stop_hash) |
