Sha256: babf51ebbb203be5f458e8b6da580af7f8b5d70b6579895fd3f01a47c8b507d6
Contents?: true
Size: 899 Bytes
Versions: 47
Compression:
Stored size: 899 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe ActiveFedora::RDF do describe ActiveFedora::RDF::Fcrepo do it "should register 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 "should register 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
47 entries across 47 versions & 1 rubygems