Sha256: f1967660f4af3e2321132ba196a76bd8d645124b43efa17299ff076e7593e8b9

Contents?: true

Size: 367 Bytes

Versions: 155

Compression:

Stored size: 367 Bytes

Contents

require "spec_helper"

RSpec.describe CanvasSync::Processors::SubmissionsProcessor do
  let(:subject) { CanvasSync::Processors::SubmissionsProcessor }

  describe "#process" do
    it "inserts submissions" do
      expect {
        subject.process("spec/support/fixtures/reports/submissions.csv", {}, 1)
      }.to change { Submission.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/submissions_processor_spec.rb
canvas_sync-0.17.20 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.19 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.18 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.17.beta1 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.16 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.15 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.14 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.13 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.12 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.10.beta2 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.10.beta1 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.8 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.8.beta4 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.8.beta3 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.8.beta2 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.8.beta1 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.7 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.7.beta1 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.17.6 spec/canvas_sync/processors/submissions_processor_spec.rb