Sha256: a894f2814bccf0b5a45c1b97867270d5cb4f0abb2629a0ff2bf5d45e2c09ceef

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 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

3 entries across 3 versions & 1 rubygems

Version Path
earth-0.4.0 spec/earth/pet/species_spec.rb
earth-0.3.15 spec/earth/pet/species_spec.rb
earth-0.3.14 spec/earth/pet/species_spec.rb