Sha256: a2d472eb70539efb5c7d1c5bbff9df2719645e67a93dc89b4b688986402577ef
Contents?: true
Size: 446 Bytes
Versions: 48
Compression:
Stored size: 446 Bytes
Contents
require 'spec_helper' describe Krikri::Harvesters::BasicSaveBehavior 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 with activity_uri on the record' do expect(record).to receive(:save).with(activity_uri) subject.process_record end end end
Version data entries
48 entries across 48 versions & 1 rubygems