Sha256: c5190b7bf6bf08d2ca3158fe55fc9ec5a756cf50642da8281d1e5ca06ca21ff8
Contents?: true
Size: 645 Bytes
Versions: 12
Compression:
Stored size: 645 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe ModsAsset do before(:each) do @asset = ModsAsset.new nil end it "Should be a kind of ActiveFedora::Base" do @asset.should be_kind_of(ActiveFedora::Base) end it "should set up descMetadata and rightsMetadata datastreams" do @asset.datastreams.should have_key("descMetadata") @asset.datastreams["descMetadata"].should be_instance_of(Hydra::Datastream::ModsArticle) @asset.datastreams.should have_key("rightsMetadata") @asset.datastreams["rightsMetadata"].should be_instance_of(Hydra::Datastream::RightsMetadata) end end
Version data entries
12 entries across 12 versions & 1 rubygems