Skip to content

Commit 6d45c36

Browse files
committed
Fix transaction check and enable local running of spec.
1 parent 91bc9ee commit 6d45c36

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

lib/rdf/spec/transaction.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,10 @@
212212
with_name = st.dup
213213
with_name.graph_name = graph_uri
214214

215-
expect do
215+
expect do
216216
subject.insert(st)
217217
subject.execute
218-
end.to change { subject.repository }
218+
end.to change { subject.repository.statements }
219219

220220
expect(subject.repository).to have_statement(with_name)
221221
end

spec/transaction_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
require File.join(File.dirname(__FILE__), 'spec_helper')
22
require 'rdf/spec/transaction'
33

4-
describe RDF::Transaction, skip: "pending fixes to immutability errors" do
4+
describe RDF::Transaction do
5+
let(:repository) { RDF::Repository.new }
56
# @see lib/rdf/spec/transaction.rb in rdf-spec
67
it_behaves_like "an RDF::Transaction", RDF::Transaction
78
end

0 commit comments

Comments
 (0)