Sha256: fef977cc224bdca1f155a985502a08468bfc538e2c4aa9fab45ee4ff3917a76a
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 Bytes
Contents
require 'spec_helper' require 'earth/automobile' describe AutomobileFuel do describe 'import', :data_miner => true do before do Earth.init :automobile, :load_data_miner => true, :skip_parent_associations => :true end it 'should import data without problems' do AutomobileFuel.run_data_miner! end end describe 'verify imported data', :sanity => true do it 'should have all the data' do AutomobileFuel.all.count.should == 9 end it 'correctly assigns hfc_emission_factor' do AutomobileFuel.first.hfc_emission_factor.should == 0.124799 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
earth-0.11.19 | spec/earth/automobile/automobile_fuel_spec.rb |