spec/support/shared_examples/rdf_source.rb in krikri-0.10.1 vs spec/support/shared_examples/rdf_source.rb in krikri-0.11.0
- old
+ new
@@ -1,7 +1,8 @@
shared_examples 'an LDP RDFSource' do
it_behaves_like 'an LDP Resource'
+ it_behaves_like 'an invalidatable resource'
include_context 'clear repository'
error_msg = "#{described_class} requires a URI rdf_subject, but got a node."
@@ -107,10 +108,10 @@
it 'retains added triples' do
subject.get
statements.each { |s| expect(subject.statements).to include s }
end
-
+
context 'with long multi-line literals' do
let(:statements) do
[RDF::Statement(subject, RDF::DC.description, "#{'0' * 10000}\n'blah'")]
end