spec/extractor_spec.rb in oddb2xml-1.8.0 vs spec/extractor_spec.rb in oddb2xml-1.8.1
- old
+ new
@@ -24,10 +24,10 @@
expect(with_pharma[:atc_code]).not_to be_nil
expect(with_pharma[:pharmacodes]).not_to be_nil
expect(with_pharma[:packages].size).to eq(1)
expect(with_pharma[:packages].first[0]).to eq('1699947')
expect(with_pharma[:packages].first[1][:prices][:pub_price][:price]).to eq('205.3')
- expect(@items.size).to eq(2)
+ expect(@items.size).to eq(5)
no_pharma = @items['7680620690084']
expect(no_pharma).not_to be_nil
expect(no_pharma[:atc_code]).not_to be_nil
expect(no_pharma[:pharmacodes]).not_to be_nil
expect(no_pharma[:packages].size).to eq(1)