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.23.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.20 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.19 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.18 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.17.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.16 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.15 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.14 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.13 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.12 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.10.beta2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.10.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.8 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.8.beta4 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.8.beta3 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.8.beta2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.8.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.7 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.7.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.6 spec/canvas_sync/processors/assignment_groups_processor_spec.rb