Sha256: c6689f7fafb73f4f9d19f01db185dd4e766ed04eaa4fc2bb877311bdf8ef9755

Contents?: true

Size: 433 Bytes

Versions: 4

Compression:

Stored size: 433 Bytes

Contents

FactoryBot.define do
  factory :student, class: 'Sis::Core::Student' do
    student_id { FFaker::Name.name }
    date_of_birth { Date.new(2000, 1, 1) }
    nationality { FFaker::Name.name }
    association :user
    association :level
    association :semester
    association :entry
    association :programme
    association :programme_level
    association :programme_type
    association :advisor, factory: :instructor
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sis_core-1.0.20 spec/factories/sis/core/students.rb
sis_core-1.0.19 spec/factories/sis/core/students.rb
sis_core-1.0.18 spec/factories/sis/core/students.rb
sis_core-1.0.17 spec/factories/sis/core/students.rb