Sha256: c7cc73ddb8f977c24c579cef164508a16a76f84b6e438f24e2129183be687c5f

Contents?: true

Size: 384 Bytes

Versions: 9

Compression:

Stored size: 384 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
    subject {@readable}
    it {should respond_to(:readable?)}
    its(:readable?) {should == subject.readable?}
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rdf-spec-1.1.5 lib/rdf/spec/readable.rb
rdf-spec-1.1.3 lib/rdf/spec/readable.rb
rdf-spec-1.1.0 lib/rdf/spec/readable.rb
rdf-spec-1.1.0p4 lib/rdf/spec/readable.rb
rdf-spec-1.0.9 lib/rdf/spec/readable.rb
rdf-spec-1.1.0.p3 lib/rdf/spec/readable.rb
rdf-spec-1.0.7 lib/rdf/spec/readable.rb
rdf-spec-1.1.0.p2 lib/rdf/spec/readable.rb
rdf-spec-1.0.6 lib/rdf/spec/readable.rb