diff options
| author | Xinhui | 2017-12-28 16:12:05 +0100 | 
|---|---|---|
| committer | Xinhui | 2017-12-28 16:12:14 +0100 | 
| commit | 808c1d03a840914592b6ae28f3108dfe9e2360e6 (patch) | |
| tree | 13f7a927164273aa561ea016ba790c7af001e964 | |
| parent | 652ab9815d90b43defc0b684ee639f5455deeb66 (diff) | |
| download | chouette-core-808c1d03a840914592b6ae28f3108dfe9e2360e6.tar.bz2 | |
Fix spec AccessPoint invalid stop_area parent
Refs #5313
| -rw-r--r-- | spec/models/chouette/access_point_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/spec/models/chouette/access_point_spec.rb b/spec/models/chouette/access_point_spec.rb index c734ecedf..2184c6ec2 100644 --- a/spec/models/chouette/access_point_spec.rb +++ b/spec/models/chouette/access_point_spec.rb @@ -136,7 +136,7 @@ describe Chouette::AccessPoint, :type => :model do    describe "#generic_access_link_matrix" do      it "should have 2 generic_access_links in matrix" do -      stop_place = create :stop_area, :area_type => "zdlp" +      stop_place = create :stop_area, :area_type => "gdl"        commercial_stop_point = create :stop_area, :area_type => "lda" ,:parent => stop_place        subject = create :access_point, :stop_area => stop_place        expect(subject.generic_access_link_matrix.size).to eq(2) | 
