Sha256: de092da929980b13137c0e04eadd092a19ded3563d6b584383fc449a84ddff4d
Contents?: true
Size: 391 Bytes
Versions: 13
Compression:
Stored size: 391 Bytes
Contents
FactoryBot.define do factory :course, class: 'Sis::Core::Course' do code { FFaker::Name.name } title { FFaker::Name.name } description { FFaker::Lorem.paragraph } credit_hours { FFaker::Random.rand(1..4) } ects { FFaker::Random.rand(1..10) } lecture_hours { FFaker::Random.rand(1..4) } lab_hours { FFaker::Random.rand(1..4) } association :program end end
Version data entries
13 entries across 13 versions & 1 rubygems