Sha256: e4f0e82b132a97ccc469b7ee3ad8cd2778818e8dab412efdc13d3f8755fc8698
Contents?: true
Size: 639 Bytes
Versions: 29
Compression:
Stored size: 639 Bytes
Contents
## # Shared context for queries that find entities (i.e. records) affected # by an Activity. # # See 'provenance queries' shared context # shared_context 'entities query' do # aggregation comes from lib/dpla/map/factories.rb in DPLA::MAP let(:aggregation) { build(:aggregation) } before do DatabaseCleaner.clean_with(:truncation) create(:krikri_harvest_activity) create(:krikri_mapping_activity) create(:krikri_enrichment_activity) allow(DPLA::MAP::Aggregation).to receive(:new) .with(solution.record.to_s) .and_return(aggregation) allow(aggregation).to receive(:get).and_return(true) end end
Version data entries
29 entries across 29 versions & 1 rubygems