Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Merge f2cc44d into bd03ed8
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Nov 29, 2018
2 parents bd03ed8 + f2cc44d commit a5c3312
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/models/admin_policy_object_spec.rb
Expand Up @@ -12,4 +12,13 @@
'defaultObjectRights']
end
end

describe '#to_solr' do
subject(:doc) { apo.to_solr }
let(:apo) { described_class.new(pid: 'foo:123') }

before { allow(Dor::Config.workflow.client).to receive(:get_milestones).and_return([]) }

it { is_expected.to include 'active_fedora_model_ssi' => 'Dor::AdminPolicyObject' }
end
end

0 comments on commit a5c3312

Please sign in to comment.