Sha256: f35791d0c148834de99136ff87d7b919b612239fc030e2e16d0fcb8dbe6e8586
Contents?: true
Size: 378 Bytes
Versions: 23
Compression:
Stored size: 378 Bytes
Contents
require 'spec_helper' describe UsdaNutrientDatabase::Import::Foods do let(:importer) { described_class.new('spec/support/sr25') } describe '#import' do before { importer.import } it { expect(UsdaNutrientDatabase::Food.count).to eql(4) } it do expect(UsdaNutrientDatabase::Food.where(food_group_code: '0100').count). to eql(3) end end end
Version data entries
23 entries across 23 versions & 1 rubygems