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.19.0.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.12 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.10 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.9 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.8 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.7 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.6 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.5 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.3 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.0.beta2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.18.0.beta1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.43 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.42 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.41 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.40 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.39 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.38 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.17.37 spec/canvas_sync/processors/assignment_groups_processor_spec.rb