Sha256: cdd0a61920a6c98ea83831e4800bf7a0a435fc41a0ceee2d17464e3824d1cfb7

Contents?: true

Size: 462 Bytes

Versions: 7

Compression:

Stored size: 462 Bytes

Contents

require 'earth/fuel/fuel'

FactoryGirl.define do
  factory :fuel, :class => Fuel do
    trait(:diesel) { name 'Diesel'; energy_content 39; energy_content_units 'megajoules_per_litre'; carbon_content 19; carbon_content_units 'grams_per_megajoule'; co2_emission_factor 2.717; co2_emission_factor_units 'kilograms_per_litre'; co2_biogenic_emission_factor 0.0; co2_biogenic_emission_factor_units 'kilograms_per_litre' }
    trait(:gas) { name 'Gasoline' }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
earth-1.2.1 spec/factories/fuel.rb
earth-1.1.2 spec/factories/fuel.rb
earth-1.1.1 spec/factories/fuel.rb
earth-1.1.0 spec/factories/fuel.rb
earth-1.0.3 spec/factories/fuel.rb
earth-1.0.2 spec/factories/fuel.rb
earth-1.0.1 spec/factories/fuel.rb