Sha256: 29e00f5a876a6e495d4bd564c3f0131e9250c7b9eb589377e313afe1fcca3bce

Contents?: true

Size: 350 Bytes

Versions: 19

Compression:

Stored size: 350 Bytes

Contents

require 'spec_helper'

describe UsdaNutrientDatabase::FoodsNutrient do
  it { should validate_presence_of(:nutrient_databank_number) }
  it { should validate_presence_of(:nutrient_number) }
  it { should validate_presence_of(:nutrient_value) }
  it { should validate_presence_of(:num_data_points) }
  it { should validate_presence_of(:src_code) }
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
usda-nutrient-database-1.5.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-1.4.1 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-1.4.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-1.3.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-1.2.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-1.1.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-1.0.1 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-1.0.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.8.1 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.8.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.7.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.6.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.5.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.4.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.3.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.2.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.1.2 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.1.1 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb
usda-nutrient-database-0.1.0 spec/lib/usda_nutrient_database/foods_nutrient_spec.rb