Sha256: 708099b81f2aa69e8cc42ff1c8a91b676b542293b76d203272bbec052613479e

Contents?: true

Size: 203 Bytes

Versions: 7

Compression:

Stored size: 203 Bytes

Contents

FactoryBot.define do
  factory :context_module do
    sequence(:canvas_id) { |n| n }
    name { "Context Module" }
    workflow_state { "available" }
    context { FactoryBot.create(:course) }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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