aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib
diff options
context:
space:
mode:
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