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

Version Path
rdf-spec-3.3.0 spec/indexable.rb
rdf-spec-3.2.0 spec/indexable.rb
rdf-spec-3.1.2 spec/indexable.rb
rdf-spec-3.1.1 spec/indexable.rb
rdf-spec-3.1.0 spec/indexable.rb
rdf-spec-3.0.0 spec/indexable.rb
rdf-spec-2.2.0 spec/indexable.rb
rdf-spec-2.2.0.pre.rc1 spec/indexable.rb
rdf-spec-2.0.0 spec/indexable.rb
rdf-spec-2.0.0.beta1 spec/indexable.rb