Sha256: 063c0b8a802795afbf723d5ec59e1d4f67e1882290a2bf79b0688da2fe8c1071

Contents?: true

Size: 295 Bytes

Versions: 11

Compression:

Stored size: 295 Bytes

Contents

FactoryBot.define do
  factory :research_study, class: "Renalware::Research::Study" do
    code { SecureRandom.hex(8) }
    description { "Description for #{code}" }
    leader { Faker::Name.name }
    started_on { 1.year.ago }
    terminated_on nil
    deleted_at nil
    accountable
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.rc10 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.rc9 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.rc8 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.rc7 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.rc6 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.rc5 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.rc4 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.rc3 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.rc1 spec/factories/research/studies.rb
renalware-core-2.0.0.pre.beta12 spec/factories/research/studies.rb