Sha256: 013abc346f5ae1f8086be2d179a876edd01929b4bc640ebf0bb29715ba7c7942

Contents?: true

Size: 272 Bytes

Versions: 7

Compression:

Stored size: 272 Bytes

Contents

require 'rdf'
require 'rdf/spec'

share_as :RDF_Node do

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

 
  it "should be instantiable" do
    lambda { @new.call }.should_not raise_error
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rdf-spec-0.2.2 lib/rdf/spec/node.rb
rdf-spec-0.2.1 lib/rdf/spec/node.rb
rdf-spec-0.2.0 lib/rdf/spec/node.rb
rdf-spec-0.1.10 lib/rdf/spec/node.rb
rdf-spec-0.1.9 lib/rdf/spec/node.rb
rdf-spec-0.1.8 lib/rdf/spec/node.rb
rdf-spec-0.1.6 lib/rdf/spec/node.rb