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.3.17 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.3.16 spec/canvas_sync/processors/assignment_groups_processor_spec.rb
canvas_sync-0.3.15 spec/canvas_sync/processors/assignment_groups_processor_spec.rb