aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib
diff options
context:
space:
mode:
authorLuc Donnet2017-12-20 10:26:07 +0100
committerGitHub2017-12-20 10:26:07 +0100
commit3df4c7feb809fc6e8eeeec5010147c42447388d8 (patch)
treed121af6b31090bcbb46320cbb3c15e6af3d2cf89 /spec/lib
parent2f4094c28cb5f7b32cf40f231e904dafbac7eafb (diff)
parent443de38df52143f72d97308c28ac68f99e009757 (diff)
downloadchouette-core-3df4c7feb809fc6e8eeeec5010147c42447388d8.tar.bz2
Merge pull request #151 from af83/5281-workbench-import-structural-bug-reading-zip
5281 workbench import structural bug reading zip
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/stif/netex_file/frame_spec.rb4
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