Sha256: 436594d32257c5537193a5d84ad3ae5b2dfa53efb25c6c95638721b0e1908bd3

Contents?: true

Size: 396 Bytes

Versions: 5

Compression:

Stored size: 396 Bytes

Contents

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

describe RDF::Queryable do
  before :each do
    @file       = "etc/doap.nt"
    @statements = RDF::NTriples::Reader.new(File.open(@file)).to_a
    @queryable  = @statements.extend(RDF::Queryable)
    @subject    = RDF::URI.new("http://rubygems.org/gems/rdf")
  end

  it_should_behave_like RDF_Queryable
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rdf-spec-0.1.10 spec/queryable_spec.rb
rdf-spec-0.1.9 spec/queryable_spec.rb
rdf-spec-0.1.8 spec/queryable_spec.rb
rdf-spec-0.1.6 spec/queryable_spec.rb
rdf-spec-0.1.4 spec/queryable_spec.rb