FactoryBot.define do factory :project, class: Patch::Project do sequence(:id) { |n| n } association(:technology_type) sdgs { build_list(:sdg, 1) } 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' } state { 'CO' } latitude { 45.0 } longitude { 45.0 } mechanism { 'removal' } end end