Sha256: e00fd89cf0815a53a24771e43449965cb4b03e0c56f6fde15462a7bc0fc587dd
Contents?: true
Size: 484 Bytes
Versions: 3
Compression:
Stored size: 484 Bytes
Contents
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" } country { "DK" } project_partner { "Danish Developer" } photos { [] } standard { 'european_biochar_certificate' } state { 'CO' } latitude { 45.0 } longitude { 45.0 } mechanism { 'removal' } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
patch_ruby-2.3.0 | spec/factories/projects.rb |
patch_ruby-2.1.1 | spec/factories/projects.rb |
patch_ruby-2.0.0 | spec/factories/projects.rb |