Sha256: d0228ceb2e880e5aca4fe90cfb9d393eed66b85a00caf3a2201ebddd812c6785
Contents?: true
Size: 379 Bytes
Versions: 41
Compression:
Stored size: 379 Bytes
Contents
require 'spec_helper' describe ActiveFedora::Base do before(:each) do @test_object = ActiveFedora::Base.new end describe '.save' do it "should add 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
41 entries across 41 versions & 1 rubygems