Sha256: 5b7a283fc3cb4c02d0222a4e4c113582de8497a3117d31ec2ebf74ff0f5ce07a
Contents?: true
Size: 391 Bytes
Versions: 67
Compression:
Stored size: 391 Bytes
Contents
require 'spec_helper' module Ddr::Jobs RSpec.describe FitsFileCharacterization, jobs: true, file_characterization: true do let(:obj) { double } before { allow(ActiveFedora::Base).to receive(:find).with("test:1") { obj } } specify { expect(Ddr::Models::FileCharacterization).to receive(:call).with(obj) { nil } described_class.perform("test:1") } end end
Version data entries
67 entries across 67 versions & 1 rubygems