Sha256: 025df3e02cc0a619f5e9a7f48a2609ccc2875e64b4957fefb2ea6a3f1a362b71

Contents?: true

Size: 457 Bytes

Versions: 6

Compression:

Stored size: 457 Bytes

Contents

require 'rdf/spec'

module RDF_Readable
  extend RSpec::SharedContext
  include RDF::Spec::Matchers

  before :each do
    raise '+@readable+ must be defined in a before(:each) block' unless instance_variable_get('@readable')
  end

  describe RDF::Readable do
    it "responds to #readable?" do
      @readable.respond_to?(:readable?)
    end
  
    it "implements #readable?" do
      !!@readable.readable?.should == @readable.readable?
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rdf-spec-1.1.0.p1 lib/rdf/spec/readable.rb
rdf-spec-1.0.5 lib/rdf/spec/readable.rb
rdf-spec-1.0.0 lib/rdf/spec/readable.rb
rdf-spec-0.3.11 lib/rdf/spec/readable.rb
rdf-spec-0.3.10 lib/rdf/spec/readable.rb
rdf-spec-0.3.9 lib/rdf/spec/readable.rb