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

Version Path
active-fedora-9.0.8 spec/unit/rdf_vocab_spec.rb
active-fedora-8.7.0 spec/unit/rdf_vocab_spec.rb
active-fedora-8.6.0 spec/unit/rdf_vocab_spec.rb
active-fedora-8.5.0 spec/unit/rdf_vocab_spec.rb
active-fedora-8.4.2 spec/unit/rdf_vocab_spec.rb
active-fedora-8.4.1 spec/unit/rdf_vocab_spec.rb
active-fedora-8.4.0 spec/unit/rdf_vocab_spec.rb
active-fedora-8.3.0 spec/unit/rdf_vocab_spec.rb
active-fedora-8.2.2 spec/unit/rdf_vocab_spec.rb
active-fedora-8.2.1 spec/unit/rdf_vocab_spec.rb
active-fedora-8.2.0 spec/unit/rdf_vocab_spec.rb
active-fedora-9.5.0 spec/unit/rdf_vocab_spec.rb
active-fedora-9.4.3 spec/unit/rdf_vocab_spec.rb
active-fedora-9.4.2 spec/unit/rdf_vocab_spec.rb
active-fedora-9.4.1 spec/unit/rdf_vocab_spec.rb
active-fedora-9.4.0 spec/unit/rdf_vocab_spec.rb
active-fedora-9.3.0 spec/unit/rdf_vocab_spec.rb
active-fedora-9.2.1 spec/unit/rdf_vocab_spec.rb
active-fedora-9.2.0 spec/unit/rdf_vocab_spec.rb
active-fedora-9.2.0.rc2 spec/unit/rdf_vocab_spec.rb