Sha256: 24e3b0f2087bd438dc3f2ea8f1d389a05d9ef3d7067803a8587481ed9abb0812
Contents?: true
Size: 500 Bytes
Versions: 8
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true require 'factory_bot' require 'securerandom' FactoryBot.define do factory :meibo_course, class: 'Meibo::Course' do initialize_with { new(**attributes) } transient do school_year { nil } organization { nil } end sourced_id { SecureRandom.uuid } school_year_sourced_id { school_year&.sourced_id } title { "#{school_year&.title}ホームルーム" } course_code { '' } org_sourced_id { organization&.sourced_id } end end
Version data entries
8 entries across 8 versions & 1 rubygems