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

Version Path
ddr-models-2.6.2 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.6.1 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.6.0 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.6.0.rc4 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.6.0.rc3 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.6.0.rc2 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.6.0.rc1 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.5.3 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.5.2 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.5.1 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.5.0 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.5.0.rc1 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.4.16 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.4.15 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.4.14 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.4.13 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.4.12 spec/jobs/fits_file_characterization_spec.rb
ddr-models-2.4.11 spec/jobs/fits_file_characterization_spec.rb
ddr-models-3.0.8 spec/jobs/fits_file_characterization_spec.rb
ddr-models-3.0.7 spec/jobs/fits_file_characterization_spec.rb