Sha256: c761dafc77e3d3bc20fc1676845c1fd26f3f6ce9acac847b6be661a20b39868e

Contents?: true

Size: 242 Bytes

Versions: 37

Compression:

Stored size: 242 Bytes

Contents

FactoryGirl.define do
  factory :assignment do
    sequence(:canvas_assignment_id) { |n| n }
    sequence(:title) { |n| "Assignment #{n}" }
    due_at { 1.week.from_now }
    unlock_at { 1.day.ago }
    lock_at { 3.weeks.from_now }
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
canvas_sync-0.5.3 spec/factories/assignment_factory.rb
canvas_sync-0.5.2 spec/factories/assignment_factory.rb
canvas_sync-0.5.1 spec/factories/assignment_factory.rb
canvas_sync-0.4.1 spec/factories/assignment_factory.rb
canvas_sync-0.4.0 spec/factories/assignment_factory.rb
canvas_sync-0.3.23 spec/factories/assignment_factory.rb
canvas_sync-0.3.22 spec/factories/assignment_factory.rb
canvas_sync-0.3.21 spec/factories/assignment_factory.rb
canvas_sync-0.3.20 spec/factories/assignment_factory.rb
canvas_sync-0.3.19 spec/factories/assignment_factory.rb
canvas_sync-0.3.18 spec/factories/assignment_factory.rb
canvas_sync-0.3.17 spec/factories/assignment_factory.rb
canvas_sync-0.3.16 spec/factories/assignment_factory.rb
canvas_sync-0.3.15 spec/factories/assignment_factory.rb
canvas_sync-0.3.14 spec/factories/assignment_factory.rb
canvas_sync-0.3.13 spec/factories/assignment_factory.rb
canvas_sync-0.3.12 spec/factories/assignment_factory.rb