Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use inline datastreams for rdfxml #219

Merged
merged 1 commit into from
Sep 23, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/active_fedora/rdfxml_rdf_datastream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def serialization_format
end

def self.default_attributes
super.merge(:mimeType => 'text/xml', :controlGroup => 'X')
super.merge(:mimeType => 'text/xml')
end
end
end
2 changes: 1 addition & 1 deletion spec/unit/rdfxml_rdf_datastream_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class Description
subject.rdf_subject.to_s.should == "http://library.ucsd.edu/ark:/20775/"
end
it "should have controlGroup" do
subject.controlGroup.should == 'X'
subject.controlGroup.should == 'M'
end
it "should have mimeType" do
subject.mimeType.should == 'text/xml'
Expand Down