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.22.9 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.8 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.6 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.5 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.4 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.3 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.0 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.0.beta8 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.0.beta7 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.0.beta6 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.0.beta5 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.0.beta4 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.0.beta3 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.0.beta2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.22.0.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.21.1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.21.1.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.21.0 spec/canvas_sync/processors/assignment_groups_processor_spec.rb