Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@escowles
Created April 7, 2016 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save escowles/a2d88856fa8b9cefd5f84dd42ae15cc4 to your computer and use it in GitHub Desktop.
Save escowles/a2d88856fa8b9cefd5f84dd42ae15cc4 to your computer and use it in GitHub Desktop.
active_fedora failures when run against fedora 4.5.1-RC2
Failures:
1) ActiveFedora::Versionable ActiveFedora::NtriplesRDFDatastream that exists in the repository after creating the file sets model_type to versionable
Failure/Error: expect(subject.model_type).to include RDF::URI.new('http://www.jcp.org/jcr/mix/1.0versionable')
expected #<RDF::Enumerable::Enumerator: #<Enumerator::Generator:0x007f883c6b3b88>:each> to include #<RDF::URI:0x3fc41e359d60 URI:http://www.jcp.org/jcr/mix/1.0versionable>
Diff:
@@ -1,2 +1,4 @@
-[#<RDF::URI:0x3fc41e359d60 URI:http://www.jcp.org/jcr/mix/1.0versionable>]
+[#<RDF::URI:0x3fc41af8ef58 URI:http://fedora.info/definitions/v4/repository#Binary>,
+ #<RDF::URI:0x3fc41af8e51c URI:http://fedora.info/definitions/v4/repository#Resource>,
+ #<RDF::URI:0x3fc41db95778 URI:http://www.w3.org/ns/ldp#NonRDFSource>]
# ./spec/integration/versionable_spec.rb:183:in `block (5 levels) in <top (required)>'
2) ActiveFedora::Versionable ActiveFedora::OmDatastream that exists in the repository after creating the file sets model_type to versionable
Failure/Error: expect(subject.model_type).to include RDF::URI.new('http://www.jcp.org/jcr/mix/1.0versionable')
expected #<RDF::Enumerable::Enumerator: #<Enumerator::Generator:0x007f8837620a68>:each> to include #<RDF::URI:0x3fc41bb104bc URI:http://www.jcp.org/jcr/mix/1.0versionable>
Diff:
@@ -1,2 +1,4 @@
-[#<RDF::URI:0x3fc41bb104bc URI:http://www.jcp.org/jcr/mix/1.0versionable>]
+[#<RDF::URI:0x3fc41a8dff54 URI:http://fedora.info/definitions/v4/repository#Binary>,
+ #<RDF::URI:0x3fc41a8db8f0 URI:http://fedora.info/definitions/v4/repository#Resource>,
+ #<RDF::URI:0x3fc41a8cecb8 URI:http://www.w3.org/ns/ldp#NonRDFSource>]
# ./spec/integration/versionable_spec.rb:309:in `block (5 levels) in <top (required)>'
3) ActiveFedora::Versionable ActiveFedora::File that exists in the repository after creating the file sets model_type to versionable
Failure/Error: expect(subject.model_type).to include RDF::URI.new('http://www.jcp.org/jcr/mix/1.0versionable')
expected #<RDF::Enumerable::Enumerator: #<Enumerator::Generator:0x007f883e058610>:each> to include #<RDF::URI:0x3fc41f02c254 URI:http://www.jcp.org/jcr/mix/1.0versionable>
Diff:
@@ -1,2 +1,4 @@
-[#<RDF::URI:0x3fc41f02c254 URI:http://www.jcp.org/jcr/mix/1.0versionable>]
+[#<RDF::URI:0x3fc41ade2d30 URI:http://fedora.info/definitions/v4/repository#Binary>,
+ #<RDF::URI:0x3fc41aa2fe68 URI:http://fedora.info/definitions/v4/repository#Resource>,
+ #<RDF::URI:0x3fc41e16b940 URI:http://www.w3.org/ns/ldp#NonRDFSource>]
# ./spec/integration/versionable_spec.rb:431:in `block (5 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment