Sha256: 943fda8181aa0024bd835e59d1f148eac1fa819e3238f6d34b8985778e9d9250
Contents?: true
Size: 513 Bytes
Versions: 28
Compression:
Stored size: 513 Bytes
Contents
require "spec_helper" RSpec.describe CanvasSync::Processors::RubricsProcessor do let(:subject) { CanvasSync::Processors::RubricsProcessor } describe "#process" do it 'inserts rubrics' do expect { subject.process('spec/support/fixtures/reports/rubrics.csv', { models: ['rubrics'] }, 1) }.to change { Rubric.count }.by(2) rubric = Rubric.first expect(rubric.title).to eq("Assignment 1") expect(rubric.description).to eq("Assignment 1 description") end end end
Version data entries
28 entries across 28 versions & 1 rubygems