Sha256: de9a1f5efca79867d3b9cc9536d6323121928707a8b78424e18df07f5525bf0b

Contents?: true

Size: 418 Bytes

Versions: 10

Compression:

Stored size: 418 Bytes

Contents

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

describe RDF::Enumerable do
  # @see lib/rdf/spec/enumerable.rb in rdf-spec
  it_behaves_like 'an RDF::Enumerable' do
    # The available reference implementations are `RDF::Repository` and
    # `RDF::Graph`, but a plain Ruby array will do fine as well:
    let(:enumerable) { 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/enumerable_spec.rb
rdf-spec-3.2.0 spec/enumerable_spec.rb
rdf-spec-3.1.2 spec/enumerable_spec.rb
rdf-spec-3.1.1 spec/enumerable_spec.rb
rdf-spec-3.1.0 spec/enumerable_spec.rb
rdf-spec-3.0.0 spec/enumerable_spec.rb
rdf-spec-2.2.0 spec/enumerable_spec.rb
rdf-spec-2.2.0.pre.rc1 spec/enumerable_spec.rb
rdf-spec-2.0.0 spec/enumerable_spec.rb
rdf-spec-2.0.0.beta1 spec/enumerable_spec.rb