Sha256: 605e66f6e579010b165486602bce6b421fa2f3cdb1e8a6bca1afc3ddde9c1510
Contents?: true
Size: 389 Bytes
Versions: 4
Compression:
Stored size: 389 Bytes
Contents
require 'rdf/spec' share_as :RDF_Readable do include RDF::Spec::Matchers before :each do raise '+@readable+ must be defined in a before(:each) block' unless instance_variable_get('@readable') end it "responds to #readable?" do @readable.respond_to?(:readable?) end it "implements #readable?" do !!@readable.readable?.should == @readable.readable? end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rdf-spec-0.3.8 | lib/rdf/spec/readable.rb |
rdf-spec-0.3.7 | lib/rdf/spec/readable.rb |
rdf-spec-0.3.5.1 | lib/rdf/spec/readable.rb |
rdf-spec-0.3.5 | lib/rdf/spec/readable.rb |