Sha256: 7684839ab783343c82ab4587ce61fb50a7b609290358a15d2ddcb338b0298e8f

Contents?: true

Size: 166 Bytes

Versions: 19

Compression:

Stored size: 166 Bytes

Contents

require 'spec_helper'

describe UsdaNutrientDatabase::FoodGroup do
  it { should validate_presence_of(:code) }
  it { should validate_presence_of(:description) }
end

Version data entries

19 entries across 19 versions & 1 rubygems

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