Sha256: b3edb2d5807fbdb7f0d223c02553dc364b91dc654b2db79fd7d5b5867f32054d

Contents?: true

Size: 978 Bytes

Versions: 7

Compression:

Stored size: 978 Bytes

Contents

require 'earth/industry/mecs_ratio'

FactoryGirl.define do
  factory :mecs_ratio, :class => MecsRatio do
    trait(:r11) { name '11'; naics_code 11; energy_per_dollar_of_shipments 0.1 }
    trait(:r11c1) { name '11-1'; naics_code 11; census_region_number 1; energy_per_dollar_of_shipments 0.1 }
    trait(:r111) { name '111'; naics_code 111; energy_per_dollar_of_shipments 0.1 }
    trait(:r111c1) { name '111-1';naics_code 111; census_region_number 1; energy_per_dollar_of_shipments 0.1 }
    trait(:r1111) { name '1111';naics_code 1111; energy_per_dollar_of_shipments 0.1 }
    trait(:r1111c1) { name '1111-1';naics_code 1111; census_region_number 1; energy_per_dollar_of_shipments 0.1 }
    trait(:r1111c2) { name '1111-2';naics_code 1111; census_region_number 2 }
    trait(:r1112) { name '1112';naics_code 1112; energy_per_dollar_of_shipments 0.1 }
    trait(:r1112c1) { name '1112-1';naics_code 1112; census_region_number 1; energy_per_dollar_of_shipments 0.1 }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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