Sha256: 687cf6d44eaa8694570c7e4b39e79abee00be264e3dfc495521f111b84063737

Contents?: true

Size: 399 Bytes

Versions: 69

Compression:

Stored size: 399 Bytes

Contents

require "spec_helper"

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

  describe "#process" do
    it "inserts content migrations" do
      expect {
        subject.process("spec/support/fixtures/reports/content_migrations.csv", {}, 1)
      }.to change { ContentMigration.count }.by(2)
    end
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
canvas_sync-0.22.9 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.8 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.6 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.5 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.4 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.3 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.2 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.1 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.0 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.0.beta8 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.0.beta7 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.0.beta6 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.0.beta5 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.0.beta4 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.0.beta3 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.0.beta2 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.22.0.beta1 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.21.1 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.21.1.beta1 spec/canvas_sync/processors/content_migrations_processor_spec.rb
canvas_sync-0.21.0 spec/canvas_sync/processors/content_migrations_processor_spec.rb