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.21.0.beta5 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.21.0.beta4 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.21.0.beta3 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.21.0.beta2 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.21.0.beta1 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.20.5 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.20.4 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.20.3 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.1.beta2 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.1.beta1 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0.beta10 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0.beta9 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0.beta8 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0.beta7 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0.beta6 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0.beta5 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0.beta4 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0.beta3 spec/canvas_sync/processors/submissions_processor_spec.rb
canvas_sync-0.19.0.beta2 spec/canvas_sync/processors/submissions_processor_spec.rb