Sha256: 704dd9d3448c21fdb1569362791a957ab5495abc46091dae99af48773e11dca0
Contents?: true
Size: 888 Bytes
Versions: 75
Compression:
Stored size: 888 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe ActiveFedora::RDF do describe ActiveFedora::RDF::Fcrepo do it "registers the vocabularies" do namespaces = [ "info:fedora/fedora-system:def/model#", "info:fedora/fedora-system:def/view#", "info:fedora/fedora-system:def/relations-external#", "info:fedora/fedora-system:" ] namespaces.each do |namespace| vocab = RDF::Vocabulary.find(namespace) expect(vocab.superclass).to be(RDF::StrictVocabulary) end end end describe ActiveFedora::RDF::ProjectHydra do it "registers the vocabularies" do namespaces = [ "http://projecthydra.org/ns/relations#" ] namespaces.each do |namespace| vocab = RDF::Vocabulary.find(namespace) expect(vocab.superclass).to be(RDF::StrictVocabulary) end end end end
Version data entries
75 entries across 75 versions & 1 rubygems