Sha256: d959318403bab8f81e8ca12f7d302d473dd1b2220cddc28343a78c32cb4883a6
Contents?: true
Size: 362 Bytes
Versions: 96
Compression:
Stored size: 362 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 @test_object.stub(:update_index) @test_object.should_receive(:refresh) @test_object.save end end end
Version data entries
96 entries across 96 versions & 1 rubygems