Sha256: ddaeda064aefe3698c3d9968cea97d7ac36981c1f283c4fd46e641822a8aed16
Contents?: true
Size: 470 Bytes
Versions: 10
Compression:
Stored size: 470 Bytes
Contents
require File.join(File.dirname(__FILE__), 'spec_helper') require 'rdf/spec/indexable' describe RDF::Indexable do # @see lib/rdf/spec/indexable.rb in rdf-spec it_behaves_like 'an RDF::Indexable' do # The available reference implementations are `RDF::Repository` and # `RDF::Graph`, but a double will do fine as well: let(:indexable) do d = double("Indexable").extend(RDF::Indexable) allow(d).to receive(:index!) {d} d end end end
Version data entries
10 entries across 10 versions & 1 rubygems