spec/extractor_spec.rb in oddb2xml-2.1.0 vs spec/extractor_spec.rb in oddb2xml-2.1.1
- old
+ new
@@ -202,10 +202,9 @@
end if false
end
context 'when parsing examples' do
subject do
filename = File.expand_path(File.join(__FILE__, '..', 'data', 'zurrose_transfer.dat'))
- puts "filename #{filename} #{File.exists?(filename)}"
Oddb2xml::ZurroseExtractor.new(filename, true)
end
it "should set the correct Ethacridin description" do
ethacridin = subject.to_hash.values.find{ |x| /Ethacridin/i.match(x[:description])}
expect(ethacridin[:description]).to eq("Ethacridin lactat 1‰ 100ml")