Sha256: 74f101863f1c502558b1e0214ade717d8879c77a43589385f3d1962fedd38368

Contents?: true

Size: 524 Bytes

Versions: 1

Compression:

Stored size: 524 Bytes

Contents

require 'rdf/spec'

RSpec.shared_examples 'an RDF::Inferable' do
  include RDF::Spec::Matchers

  it "is_expected.to implement specs" #TODO
end

##
# @deprecated use `it_behaves_like "an RDF::Inferable"` instead
module RDF_Inferable
  extend RSpec::SharedContext
  include RDF::Spec::Matchers

  def self.included(mod)
    warn "[DEPRECATION] `RDF_Inferable` is deprecated. "\
         "Please use `it_behaves_like 'an RDF::Inferable'`"
  end

  describe 'examples for' do
    include_examples 'an RDF::Inferable'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rdf-spec-1.99.0 lib/rdf/spec/inferable.rb