Sha256: 326e991041aaaf401cf126e72aa1e08c345f8ce1f685a31a7b838e12727d0e4f

Contents?: true

Size: 285 Bytes

Versions: 60

Compression:

Stored size: 285 Bytes

Contents

FactoryGirl.define do
  factory :course do
    canvas_course_id { SecureRandom.random_number(100_000_000) }
    sis_id { SecureRandom.hex }
    short_name 'Cool Course'
    long_name 'Really Really Cool Course'
    start_date { 3.days.ago }
    end_date { 3.weeks.from_now }
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
canvas_sync-0.9.4 spec/factories/course_factory.rb
canvas_sync-0.9.3 spec/factories/course_factory.rb
canvas_sync-0.9.2 spec/factories/course_factory.rb
canvas_sync-0.9.1 spec/factories/course_factory.rb
canvas_sync-0.9.0 spec/factories/course_factory.rb
canvas_sync-0.8.4 spec/factories/course_factory.rb
canvas_sync-0.8.3 spec/factories/course_factory.rb
canvas_sync-0.8.2 spec/factories/course_factory.rb
canvas_sync-0.8.1 spec/factories/course_factory.rb
canvas_sync-0.8.0 spec/factories/course_factory.rb
canvas_sync-0.7.3 spec/factories/course_factory.rb
canvas_sync-0.7.2 spec/factories/course_factory.rb
canvas_sync-0.7.1 spec/factories/course_factory.rb
canvas_sync-0.7.0 spec/factories/course_factory.rb
canvas_sync-0.6.4 spec/factories/course_factory.rb
canvas_sync-0.6.3 spec/factories/course_factory.rb
canvas_sync-0.6.2 spec/factories/course_factory.rb
canvas_sync-0.6.1 spec/factories/course_factory.rb
canvas_sync-0.6.0 spec/factories/course_factory.rb
canvas_sync-0.5.4 spec/factories/course_factory.rb