Sha256: defca836d3b66a5489a07b6b9e8268907f72ef39fb7ac463963c2ab6555edbe9
Contents?: true
Size: 363 Bytes
Versions: 40
Compression:
Stored size: 363 Bytes
Contents
require 'spec_helper' describe ActiveFedora::Base do before(:each) do @test_object = described_class.new end describe '.save' do it "adds hasModel relationship that points to the CModel if @new_object" do allow(@test_object).to receive(:update_index) expect(@test_object).to receive(:refresh) @test_object.save end end end
Version data entries
40 entries across 40 versions & 1 rubygems