Sha256: df93361cd2963d5a721e9a1f44e21ab08b47bb56ceaf87c34fe271c7ce727ede

Contents?: true

Size: 385 Bytes

Versions: 27

Compression:

Stored size: 385 Bytes

Contents

shared_examples 'a harvest behavior' do
  subject { described_class.new() }

  describe '.process_record' do
    it 'passes args and call to instance' do
      instance = double('behavior instance')
      expect(described_class).to receive(:new).with(record, activity_uri)
                                  .and_return(instance)
      described_class.process_record
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

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