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