Skip to content

Commit 49ee769

Browse files
committed
Merge pull request #54 from ruby-rdf/feature/atomic-write
Switch supports? :transaction to :atomic_write
2 parents ebc6856 + 5cf1a41 commit 49ee769

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rdf/spec/mutable.rb

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

238238
context 'when transactions are supported' do
239239
it 'updates atomically' do
240-
if subject.supports?(:transactions)
240+
if subject.mutable? && subject.supports?(:atomic_write)
241241
contents = subject.statements.to_a
242242

243243
expect { subject.delete_insert(@statements, [nil]) }

0 commit comments

Comments
 (0)