aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorjpl2017-02-27 19:13:40 +0100
committerjpl2017-02-27 19:13:40 +0100
commite402b2373601ecd97458a09af0bf310898322ccf (patch)
tree58ef38e9ee398efb685a215e8777f94de212515c /spec
parent600e47f093597580178e3e2fbb0cf766014e6d92 (diff)
downloadchouette-core-e402b2373601ecd97458a09af0bf310898322ccf.tar.bz2
Refs #2648: fix tests (typo 666 667 club)
Diffstat (limited to 'spec')
-rw-r--r--spec/models/chouette/route_spec.rb2
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)