spec/extractor_spec.rb in oddb2xml-2.3.8 vs spec/extractor_spec.rb in oddb2xml-2.3.9
- old
+ new
@@ -329,10 +329,10 @@
it "should set the correct SALECD cmut code" do expect(subject.to_hash.values.first[:cmut]).to eq("2") end
it "should set the correct SALECD description" do expect(subject.to_hash.values.first[:description]).to match(/Ethacridin lactat 1.+ 100ml/) end
end
context 'when parsing examples' do
subject do
- filename = File.expand_path(File.join(__FILE__, '..', 'data', 'zurrose_transfer.dat'))
+ filename = File.expand_path(File.join(__FILE__, '..', 'data', 'transfer.dat'))
Oddb2xml::ZurroseExtractor.new(filename, true)
end
it "should extract EPIMINERAL" do
ethacridin = subject.to_hash.values.find{ |x| /EPIMINERAL/i.match(x[:description])}