Sha256: 7ad7ef618f29012f93a51bd49092e23068785982addce73c381842d353d2d5fe

Contents?: true

Size: 255 Bytes

Versions: 3

Compression:

Stored size: 255 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
rdf-spec-0.3.2 lib/rdf/spec/node.rb
rdf-spec-0.3.1 lib/rdf/spec/node.rb
rdf-spec-0.3.0 lib/rdf/spec/node.rb