Sha256: 45e8e3c306bbabbf5c60a985ce5e23015b88b4f57fe278d7355983f24a4f4a19
Contents?: true
Size: 650 Bytes
Versions: 28
Compression:
Stored size: 650 Bytes
Contents
require "spec_helper" RSpec.describe CanvasSync::Processors::RubricAssociationsProcessor do let(:subject) { CanvasSync::Processors::RubricAssociationsProcessor } describe "#process" do it 'processes rubric associations' do expect { subject.process('spec/support/fixtures/reports/rubric_associations.csv', { models: ['rubric_associations'] }, 1) }.to change { RubricAssociation.count }.by(2) rubric_association = RubricAssociation.first expect(rubric_association.title).to eq("Rubric Association Title") expect(rubric_association.summary_data).to eq("Rubric Association Summary Data") end end end
Version data entries
28 entries across 28 versions & 1 rubygems