Skip to content

Commit 8bfa7b5

Browse files
doriantaylorgkellogg
authored andcommitted
this test ought to do it
1 parent f1078ba commit 8bfa7b5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

spec/changeset_spec.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@
7373
expect { subject.apply(repo) }
7474
.to change { repo.statements }.to contain_exactly(new_statement)
7575
end
76+
77+
it "correctly applies a wildcard/pattern" do
78+
repo << st
79+
80+
subject.delete RDF::Statement(nil, RDF::URI('p'), nil)
81+
82+
expect { subject.apply(repo) }.to change { repo.statements }.to be_empty
83+
end
7684
end
7785
end
7886

0 commit comments

Comments
 (0)