Sha256: c65ad89f09fd566a60991659cb3af54e14b6f7f3853713f9e350f1d5d31c9904

Contents?: true

Size: 338 Bytes

Versions: 43

Compression:

Stored size: 338 Bytes

Contents

require 'spec_helper'

describe 'Species' do
  describe 'fallback' do
    describe 'marginal_dietary_requirement' do
      it 'should return 0 when there is no data' do
        Earth.init :pet, :apply_schemas => true
        Species.delete_all
        Species.fallback.marginal_dietary_requirement.should == 0
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
earth-0.11.18 spec/earth/pet/species_spec.rb
earth-0.11.17 spec/earth/pet/species_spec.rb
earth-0.11.16 spec/earth/pet/species_spec.rb
earth-0.11.15 spec/earth/pet/species_spec.rb
earth-0.11.14 spec/earth/pet/species_spec.rb
earth-0.11.13 spec/earth/pet/species_spec.rb
earth-0.11.12 spec/earth/pet/species_spec.rb
earth-0.11.11 spec/earth/pet/species_spec.rb
earth-0.11.10 spec/earth/pet/species_spec.rb
earth-0.11.9 spec/earth/pet/species_spec.rb
earth-0.11.8 spec/earth/pet/species_spec.rb
earth-0.11.7 spec/earth/pet/species_spec.rb
earth-0.11.6 spec/earth/pet/species_spec.rb
earth-0.11.5 spec/earth/pet/species_spec.rb
earth-0.11.4 spec/earth/pet/species_spec.rb
earth-0.11.3 spec/earth/pet/species_spec.rb
earth-0.11.2 spec/earth/pet/species_spec.rb
earth-0.11.1 spec/earth/pet/species_spec.rb
earth-0.11.0 spec/earth/pet/species_spec.rb
earth-0.7.0 spec/earth/pet/species_spec.rb