Sha256: 0c0cc49f2092127fae0b385a410d747424d6d74b1a83f9d971d7ea45fa951148

Contents?: true

Size: 347 Bytes

Versions: 16

Compression:

Stored size: 347 Bytes

Contents

require 'spec_helper'

describe UsdaNutrientDatabase::Weight do
  it { should validate_presence_of(:nutrient_databank_number) }
  it { should validate_presence_of(:sequence_number) }
  it { should validate_presence_of(:amount) }
  it { should validate_presence_of(:measurement_description) }
  it { should validate_presence_of(:gram_weight) }
end

Version data entries

16 entries across 16 versions & 1 rubygems

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