Sha256: 5dcd45ede11010aeb061f2176bb5d3338b29e48247f40e87abe03f03dc759200

Contents?: true

Size: 1.3 KB

Versions: 12

Compression:

Stored size: 1.3 KB

Contents

require 'rdf'

module RDF
  ##
  # **`RDF::Spec`** provides RSpec extensions for RDF.rb.
  #
  # @example Requiring the `RDF::Spec` module
  #   require 'rdf/spec'
  #
  # @example Including the matchers in `spec/spec_helper.rb`
  #   require 'rdf/spec'
  #   
  #   Spec::Runner.configure do |config|
  #     config.include(RDF::Spec::Matchers)
  #   end
  #
  # @example Using the shared examples for `RDF::Enumerable`
  #   require 'rdf/spec/enumerable'
  #   
  #   describe RDF::Enumerable do
  #     before :each do
  #       @statements = RDF::NTriples::Reader.new(File.open("etc/doap.nt")).to_a
  #       @enumerable = @statements.dup.extend(RDF::Enumerable)
  #     end
  #     
  #     it_should_behave_like RDF_Enumerable
  #   end
  #
  # @example Using the shared examples for `RDF::Repository`
  #   require 'rdf/spec/repository'
  #   
  #   describe RDF::Repository do
  #     before :each do
  #       @repository = RDF::Repository.new
  #     end
  #     
  #     it_should_behave_like RDF_Repository
  #   end
  #
  # @see http://rdf.rubyforge.org/
  # @see http://rspec.info/
  #
  # @author [Arto Bendiken](http://ar.to/)
  # @author [Ben Lavender](http://bhuga.net/)
  module Spec
    autoload :Matchers, 'rdf/spec/matchers'
    autoload :VERSION,  'rdf/spec/version'
  end # module Spec
end # module RDF

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
rdf-spec-0.2.3 lib/rdf/spec.rb
rdf-spec-0.2.2 lib/rdf/spec.rb
rdf-spec-0.2.1 lib/rdf/spec.rb
rdf-spec-0.2.0 lib/rdf/spec.rb
rdf-spec-0.1.10 lib/rdf/spec.rb
rdf-spec-0.1.9 lib/rdf/spec.rb
rdf-spec-0.1.8 lib/rdf/spec.rb
rdf-spec-0.1.6 lib/rdf/spec.rb
rdf-spec-0.1.4 lib/rdf/spec.rb
rdf-0.1.4 lib/rdf/spec.rb
rdf-spec-0.1.0 lib/rdf/spec.rb
rdf-spec-0.0.9 lib/rdf/spec.rb