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.5.3 spec/factories/course_factory.rb
canvas_sync-0.5.2 spec/factories/course_factory.rb
canvas_sync-0.5.1 spec/factories/course_factory.rb
canvas_sync-0.4.1 spec/factories/course_factory.rb
canvas_sync-0.4.0 spec/factories/course_factory.rb
canvas_sync-0.3.23 spec/factories/course_factory.rb
canvas_sync-0.3.22 spec/factories/course_factory.rb
canvas_sync-0.3.21 spec/factories/course_factory.rb
canvas_sync-0.3.20 spec/factories/course_factory.rb
canvas_sync-0.3.19 spec/factories/course_factory.rb
canvas_sync-0.3.18 spec/factories/course_factory.rb
canvas_sync-0.3.17 spec/factories/course_factory.rb
canvas_sync-0.3.16 spec/factories/course_factory.rb
canvas_sync-0.3.15 spec/factories/course_factory.rb
canvas_sync-0.3.14 spec/factories/course_factory.rb
canvas_sync-0.3.13 spec/factories/course_factory.rb
canvas_sync-0.3.12 spec/factories/course_factory.rb
canvas_sync-0.3.11 spec/factories/course_factory.rb
canvas_sync-0.3.10 spec/factories/course_factory.rb
canvas_sync-0.3.9 spec/factories/course_factory.rb