Sha256: 40379bf8f7aaf07f686bd7479b904e433685eb99c2db64455fb1e4bfa12710e8

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

FactoryBot.define do
  factory :certificate do
    start_date { 1.month.ago }
    end_date { 1.minute.ago }
    user { build :user, first_name: 'Jane', last_name: 'Doe' }
    certificate_program { build :certificate_program }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mumuki-domain-9.0.5 lib/mumuki/domain/factories/certificate_factory.rb
mumuki-domain-9.0.4 lib/mumuki/domain/factories/certificate_factory.rb
mumuki-domain-9.0.3 lib/mumuki/domain/factories/certificate_factory.rb
mumuki-domain-9.0.2 lib/mumuki/domain/factories/certificate_factory.rb
mumuki-domain-9.0.0 lib/mumuki/domain/factories/certificate_factory.rb