Sha256: 0880c6ee9ccf8b92dbaef047c4a83a3b918dcb122ebb6673546de9a81167bc25
Contents?: true
Size: 356 Bytes
Versions: 35
Compression:
Stored size: 356 Bytes
Contents
require 'spec_helper' describe ActiveFedora::Base do before 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
35 entries across 35 versions & 1 rubygems