Sha256: f859e0e6f35ee2bf47159c47bb29121b858315698c6294febc7330edfa93371b

Contents?: true

Size: 269 Bytes

Versions: 23

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

describe UsdaNutrientDatabase::Import::Nutrients do
  let(:importer) { described_class.new('spec/support/sr25') }

  describe '#import' do
    before { importer.import }

    it { expect(UsdaNutrientDatabase::Nutrient.count).to eql(3) }
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
usda-nutrient-database-2.1.2 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-1.5.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-1.4.1 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-2.1.1 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-2.1.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-2.0.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-1.4.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-1.3.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-1.2.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-1.1.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-1.0.1 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-1.0.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-0.8.1 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-0.8.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-0.7.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-0.6.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-0.5.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-0.4.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-0.3.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb
usda-nutrient-database-0.2.0 spec/lib/usda_nutrient_database/import/nutrients_spec.rb