Sha256: 46110bc5f2333bf2f510a115c8bdc55dccb102a415f62fae99013f0d9d54cdb1

Contents?: true

Size: 418 Bytes

Versions: 17

Compression:

Stored size: 418 Bytes

Contents

FactoryBot.define do
  factory :project, class: Patch::Project do
    sequence(:id) { |n| n }
    production { false }
    name { "New Project" }
    description { "New Descirption" }
    type { "biomass" }
    country { "DK" }
    developer { "Danish Developer" }
    photos { [] }
    average_price_per_tonne_cents_usd { 120 }
    remaining_mass_g { 1_000 }
    standard { 'european_biochar_certificate' }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
patch_ruby-1.13.0 spec/factories/projects.rb
patch_ruby-1.12.0 spec/factories/projects.rb
patch_ruby-1.11.1 spec/factories/projects.rb
patch_ruby-1.11.0 spec/factories/projects.rb
patch_ruby-1.10.2 spec/factories/projects.rb
patch_ruby-1.10.1 spec/factories/projects.rb
patch_ruby-1.10.0 spec/factories/projects.rb
patch_ruby-1.9.0 spec/factories/projects.rb
patch_ruby-1.8.0 spec/factories/projects.rb
patch_ruby-1.7.0 spec/factories/projects.rb
patch_ruby-1.6.0 spec/factories/projects.rb
patch_ruby-1.5.2 spec/factories/projects.rb
patch_ruby-1.5.1 spec/factories/projects.rb
patch_ruby-1.5.0 spec/factories/projects.rb
patch_ruby-1.4.0 spec/factories/projects.rb
patch_ruby-1.3.0 spec/factories/projects.rb
patch_ruby-1.2.5 spec/factories/projects.rb