Sha256: 83cc3ac2810cff57d4a2cd36959d1593edd9c33f2fdf54a996ce5e394a48ca11

Contents?: true

Size: 422 Bytes

Versions: 38

Compression:

Stored size: 422 Bytes

Contents

require 'spec_helper'
require 'earth/automobile'
require 'earth/automobile/data_miner'

describe AutomobileFuel do
  describe 'import', :slow => true do
    it 'should import data without problems' do
      AutomobileFuel.run_data_miner!
      AutomobileFuel.all.count.should > 0
    end
    
    it 'correctly assigns hfc_emission_factor' do
      AutomobileFuel.first.hfc_emission_factor.should == 0.0
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
earth-0.11.13 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.12 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.11 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.10 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.9 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.8 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.7 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.6 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.5 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.4 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.3 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.2 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.1 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.11.0 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.7.0 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.6.6 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.6.5 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.6.4 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.6.3 spec/earth/automobile/automobile_fuel_spec.rb
earth-0.6.2 spec/earth/automobile/automobile_fuel_spec.rb