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