Sha256: a3276f7b221e3477ca685c9329220ed3cf360cd86314a102e786522cf3996223

Contents?: true

Size: 394 Bytes

Versions: 155

Compression:

Stored size: 394 Bytes

Contents

require "spec_helper"

RSpec.describe CanvasSync::Processors::AssignmentGroupsProcessor do
  let(:subject) { CanvasSync::Processors::AssignmentGroupsProcessor }

  describe "#process" do
    it "inserts assignment_groups" do
      expect {
        subject.process("spec/support/fixtures/reports/assignment_groups.csv", {}, 1)
      }.to change { AssignmentGroup.count }.by(2)
    end
  end
end

Version data entries

155 entries across 155 versions & 1 rubygems

Version Path
canvas_sync-0.17.36 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.35 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.34 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.33 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.32 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.31 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.30 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.29 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.28 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.27 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.27.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.26.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.24 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.23 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.23.beta8 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.23.beta7 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.23.beta6 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.23.beta5 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.23.beta4 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.23.beta2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb