Sha256: defe970bf1b64bb35096f3332f6e63dba7a3db629db9cd8298f19a2b14b58c27

Contents?: true

Size: 391 Bytes

Versions: 23

Compression:

Stored size: 391 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", {})
      }.to change { AssignmentGroup.count }.by(2)
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
canvas_sync-0.7.2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.7.1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.7.0 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.6.4 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.6.3 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.6.2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.6.1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.6.0 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.5.4 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.5.3 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.5.2 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.5.1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.4.1 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.4.0 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.3.23 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.3.22 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.3.21 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.3.20 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.3.19 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.3.18 spec/canvas_sync/processors/assignment_groups_processor_spec.rb