Sha256: 0d59d3079706986aba8524614058aaa2bfb2751ed1d0d4fe8b20563a46ccecdc

Contents?: true

Size: 413 Bytes

Versions: 10

Compression:

Stored size: 413 Bytes

Contents

require File.join(File.dirname(__FILE__), 'spec_helper')
require 'rdf/spec/countable'

describe RDF::Countable do
  # @see lib/rdf/spec/countable.rb in rdf-spec
  it_behaves_like 'an RDF::Countable' do
    # The available reference implementations are `RDF::Repository` and
    # `RDF::Graph`, but a plain Ruby array will do fine as well:
    let(:countable) { RDF::Spec.quads.extend(described_class) }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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