spec/vocab_spec.rb in rdf-vocab-0.8.7 vs spec/vocab_spec.rb in rdf-vocab-0.8.7.1
- old
+ new
@@ -21,9 +21,13 @@
end
it "represents #{params[:uri]}" do
expect(RDF::Vocab.const_get(class_name).to_s).to eql params[:uri]
end
+
+ it "has at least one term", unless: id == :xhtml do
+ expect(RDF::Vocab.const_get(class_name).each.to_a).not_to be_empty
+ end
end
end
end
context "entailments" do