Sha256: 4ca0146e61f7450370d33853fb3dc8d8dbae363fade1b832c84b9b7babb6b9d8

Contents?: true

Size: 270 Bytes

Versions: 137

Compression:

Stored size: 270 Bytes

Contents

FactoryGirl.define do
  factory :course do
    canvas_id { SecureRandom.random_number(100_000_000) }
    sis_id { SecureRandom.hex }
    course_code 'Cool Course'
    name 'Really Really Cool Course'
    start_at { 3.days.ago }
    end_at { 3.weeks.from_now }
  end
end

Version data entries

137 entries across 137 versions & 1 rubygems

Version Path
canvas_sync-0.22.1 spec/factories/course_factory.rb
canvas_sync-0.22.0 spec/factories/course_factory.rb
canvas_sync-0.22.0.beta8 spec/factories/course_factory.rb
canvas_sync-0.22.0.beta7 spec/factories/course_factory.rb
canvas_sync-0.22.0.beta6 spec/factories/course_factory.rb
canvas_sync-0.22.0.beta5 spec/factories/course_factory.rb
canvas_sync-0.22.0.beta4 spec/factories/course_factory.rb
canvas_sync-0.22.0.beta3 spec/factories/course_factory.rb
canvas_sync-0.22.0.beta2 spec/factories/course_factory.rb
canvas_sync-0.22.0.beta1 spec/factories/course_factory.rb
canvas_sync-0.21.1 spec/factories/course_factory.rb
canvas_sync-0.21.1.beta1 spec/factories/course_factory.rb
canvas_sync-0.21.0 spec/factories/course_factory.rb
canvas_sync-0.21.0.beta5 spec/factories/course_factory.rb
canvas_sync-0.21.0.beta4 spec/factories/course_factory.rb
canvas_sync-0.21.0.beta3 spec/factories/course_factory.rb
canvas_sync-0.21.0.beta2 spec/factories/course_factory.rb
canvas_sync-0.21.0.beta1 spec/factories/course_factory.rb
canvas_sync-0.20.5 spec/factories/course_factory.rb
canvas_sync-0.20.4 spec/factories/course_factory.rb