Skip to content

Commit 6968524

Browse files
author
Thomas Johnson
committed
Merge pull request #58 from ruby-rdf/feature/no-transactional-delete-insert
Only test atomic #delete_insert for :atomic_write
2 parents f4c9231 + 670f1c3 commit 6968524

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rdf/spec/repository.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
describe '#delete_insert' do
4040
it 'updates transactionally' do
41-
if mutable.mutable?
41+
if mutable.mutable? & mutable.supports?(:atomic_write)
4242
expect(mutable).to receive(:commit_transaction).and_call_original
4343
statement = RDF::Statement(:s, RDF::URI.new("urn:predicate:1"), :o)
4444

0 commit comments

Comments
 (0)