Sha256: 4cdcb1b4f92e123a0ed853c1ef9d282062b91c13e379e6e9cdf469c913247ea7

Contents?: true

Size: 256 Bytes

Versions: 7

Compression:

Stored size: 256 Bytes

Contents

FactoryBot.define do
  factory :term do
    name { 'Cool Term' }
    start_at { 3.days.ago }
    end_at { 3.days.from_now }
    canvas_id { SecureRandom.random_number(100_000_000) }
    workflow_state { 'active' }
    sis_id { SecureRandom.hex }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
canvas_sync-0.22.9 spec/factories/term_factory.rb
canvas_sync-0.22.8 spec/factories/term_factory.rb
canvas_sync-0.22.6 spec/factories/term_factory.rb
canvas_sync-0.22.5 spec/factories/term_factory.rb
canvas_sync-0.22.4 spec/factories/term_factory.rb
canvas_sync-0.22.3 spec/factories/term_factory.rb
canvas_sync-0.22.2 spec/factories/term_factory.rb