Sha256: 904c8a4b1d92bde3fce604b91129ed38cd01134103f318de85e1de7e832adf51
Contents?: true
Size: 707 Bytes
Versions: 154
Compression:
Stored size: 707 Bytes
Contents
require "spec_helper" RSpec.describe CanvasSync::Processors::NormalProcessor do let(:subject) { CanvasSync::Processors::NormalProcessor } describe "#process" do it "inserts row" do expect { subject.process( "spec/support/fixtures/reports/courses.csv", { report_name: 'proservices_provisioning_csv', model: 'courses', mapping: 'courses', klass: 'Course', term_scope: 'active', params: { "parameters[include_deleted]" => true, "parameters[courses]" => true } }, 1 ) }.to change { Course.count }.by(2) end end end
Version data entries
154 entries across 154 versions & 1 rubygems