Sha256: 95067a96ffcf1620b70863e9d7bd813316c5a13e69375aaa13b2ea1c7c11ac99
Contents?: true
Size: 554 Bytes
Versions: 4
Compression:
Stored size: 554 Bytes
Contents
require 'spec_helper' describe ActiveFedora::UnsavedDigitalObject do it "should have ownerId property" do @obj = ActiveFedora::UnsavedDigitalObject.new(String, 'bar') @obj.ownerId = 'fooo' @obj.ownerId.should == 'fooo' end describe "#save" do it "should set the ownerId property" do @obj = ActiveFedora::UnsavedDigitalObject.new(String, 'bar') @obj.ownerId = 'fooo' saved_obj = @obj.save saved_obj.should be_kind_of ActiveFedora::DigitalObject saved_obj.ownerId.should == 'fooo' end end end
Version data entries
4 entries across 4 versions & 1 rubygems