Sha256: 559c7227575d241effc0035fa200f3cb19499cb2b1bacfd68a267ad548740d20

Contents?: true

Size: 552 Bytes

Versions: 10

Compression:

Stored size: 552 Bytes

Contents

# -*- encoding: utf-8 -*-
require File.join(File.dirname(__FILE__), 'spec_helper')
require 'rdf/ntriples'
require 'rdf/spec/reader'

describe RDF::NTriples::Reader do
  let!(:doap) {File.expand_path("../../etc/doap.nt", __FILE__)}
  let!(:doap_count) {File.open(doap).each_line.to_a.length}
  subject { RDF::NTriples::Reader.new }

  # @see lib/rdf/spec/reader.rb in rdf-spec
  it_behaves_like 'an RDF::Reader' do
    let(:reader) { RDF::NTriples::Reader.new }
    let(:reader_input) { File.read(doap) }
    let(:reader_count) { doap_count }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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