Sha256: 5fcd7abcaffc92d6ae9bb650b5eef411c07049ebf228e4bea11742cb70228da8
Contents?: true
Size: 416 Bytes
Versions: 10
Compression:
Stored size: 416 Bytes
Contents
shared_context 'provenance queries' do let(:query) { double('RDF::Query') } let(:solution) { double('RDF::Solution') } let(:uri) { double('result uri') } before do allow(Krikri::ProvenanceQueryClient).to receive(:find_by_activity) .with(generator_uri).and_return(query) allow(query).to receive(:execute).and_return([solution]) allow(solution).to receive(:record).and_return(uri) end end
Version data entries
10 entries across 10 versions & 1 rubygems