spec/marmotta_spec.rb in rdf-marmotta-0.1.0 vs spec/marmotta_spec.rb in rdf-marmotta-0.1.1

- old
+ new

@@ -46,11 +46,10 @@ ## # We probably want to pursue skolemization and/or talk to Marmotta # folks about how they currently/should handle bnodes. describe 'bnode handling' do - let(:node_triple) { RDF::Statement(RDF::Node.new, RDF::Vocab::DC.title, 'Moomin') } xit 'deletes only the relevant bnode' do subject << node_triple subject << [RDF::Node.new, RDF::Vocab::DC.title, 'Moomin'] @@ -94,11 +93,10 @@ expect { subject.insert(*statements) }.not_to raise_error end end describe 'deleting' do - it 'delete triples' do subject.delete(statement) expect(subject.count).to eq 0 end @@ -114,18 +112,14 @@ end end # describe 'Repository' do - # before do - # @repository = subject - # end + # after { repository.clear } - # after do - # @repository.clear - # end + # let(:repository) { RDF::Marmotta.new(base_url, opts) } - # include RDF_Repository + # it_behaves_like 'an RDF::Repository' # end end def large_insert