Sha256: 4211ab8dae31ca4cbf39e96ae74974e4f4511d8aac35f7789f19a13f0c2f0707

Contents?: true

Size: 458 Bytes

Versions: 7

Compression:

Stored size: 458 Bytes

Contents

require 'spec_helper'
require 'earth/pet/species'

describe Species do
  # FIXME TODO method tests
  
  describe 'Sanity check', :sanity => true do
    it { Species.count.should == 18 }
    
    describe 'fallback' do
      it 'should have marginal dietary requirement of 0 when there is no data' do
        Species.delete_all
        Species.fallback.marginal_dietary_requirement.should == 0
      end
    end
  
  # FIXME TODO more sanity checks
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
earth-1.2.1 spec/earth/pet/species_spec.rb
earth-1.1.2 spec/earth/pet/species_spec.rb
earth-1.1.1 spec/earth/pet/species_spec.rb
earth-1.1.0 spec/earth/pet/species_spec.rb
earth-1.0.3 spec/earth/pet/species_spec.rb
earth-1.0.2 spec/earth/pet/species_spec.rb
earth-1.0.1 spec/earth/pet/species_spec.rb