Sha256: bd0e7d993be2f2a4b1534662a0e726ab363c20a15a6f615476dc5c943387d83c
Contents?: true
Size: 399 Bytes
Versions: 126
Compression:
Stored size: 399 Bytes
Contents
require 'spec_helper' RSpec.describe CanvasSync::Jobs::SyncTermsJob do describe '#perform' do let(:term_params) { open_canvas_fixture('terms')['enrollment_terms'] } it 'retrieves all terms from the Canvas API and then invokes the next job' do expect { CanvasSync::Jobs::SyncTermsJob.perform_now({}) }.to change { Term.count }.by(term_params.length) end end end
Version data entries
126 entries across 126 versions & 1 rubygems