Sha256: c46c839382393ede4c5038ed6592d0f2807e878adf43a6bff1b250d70eadef0c

Contents?: true

Size: 417 Bytes

Versions: 27

Compression:

Stored size: 417 Bytes

Contents

require 'spec_helper'

describe Krikri::Harvesters::OAISkipDeletedBehavior do
  it_behaves_like 'a harvest behavior'

  subject { described_class.new(record, activity_uri) }
  let(:record) { double('record') }
  let(:activity_uri) { double('activity URI') }

  describe '#process_record' do
    it 'calls save when record is not deleted' do
      expect(record).to receive(:save).with(activity_uri)
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
krikri-0.13.2 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.13.1 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.13.0 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.12.4 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.11.2 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.11.1 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.11.0 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.10.1 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.8.9 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.8.8 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.8.7 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.8.6 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.8.5 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.8.4 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.8.2 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.8.0 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.7.3 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.7.2 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.7.1 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~
krikri-0.6.0 spec/lib/krikri/harvesters/oai_skip_deleted_behavior_spec.rb~