diff options
| author | Robert | 2017-12-14 17:58:57 +0100 | 
|---|---|---|
| committer | Robert | 2017-12-15 08:31:07 +0100 | 
| commit | 4613f02d52e2d8c9159633b6a45b8d0361759332 (patch) | |
| tree | 46bba58a87f71169a8b5e2578cfd54c9e4bd2477 /spec/lib | |
| parent | 0354c84367cede7d738c79e9c0f116b2c0a178b2 (diff) | |
| download | chouette-core-4613f02d52e2d8c9159633b6a45b8d0361759332.tar.bz2 | |
Refs: #5006@0.7h; CR changes from #5006 & staring error_messages in imports/show
 - Renaming as requested STIF::NetexFile::Frame.get_line_object_id -> get_sgort_id
 - working on error_messages for imports#show
Diffstat (limited to 'spec/lib')
| -rw-r--r-- | spec/lib/stif/netex_file/frame_spec.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/stif/netex_file/frame_spec.rb b/spec/lib/stif/netex_file/frame_spec.rb index eb80e7b14..506da2148 100644 --- a/spec/lib/stif/netex_file/frame_spec.rb +++ b/spec/lib/stif/netex_file/frame_spec.rb @@ -3,11 +3,11 @@ RSpec.describe STIF::NetexFile::Frame do    context "line object id extraction" do      it "gets the line object id if frame describes a line" do -      expect( described_class.get_line_object_id('offre_C00109_10.xml') ).to eq('C00109') +      expect( described_class.get_short_id('offre_C00109_10.xml') ).to eq('C00109')      end      it "gets nil if the frame does not describe a line" do -      expect( described_class.get_line_object_id('commun.xml') ).to be_nil +      expect( described_class.get_short_id('commun.xml') ).to be_nil      end    end  end  | 
