lib/hyrax/specs/shared_specs/indexers.rb in hyrax-4.0.0.beta1 vs lib/hyrax/specs/shared_specs/indexers.rb in hyrax-4.0.0.beta2
- old
+ new
@@ -264,9 +264,14 @@
it 'indexes generic type' do
expect(indexer.to_solr)
.to include(generic_type_sim: a_collection_containing_exactly('Collection'))
end
+ it 'indexes member_of_collection_ids' do
+ expect(indexer.to_solr)
+ .to include(member_of_collection_ids_ssim: resource.member_of_collection_ids)
+ end
+
it 'indexes depositor' do
expect(indexer.to_solr)
.to include(depositor_ssim: [resource.depositor],
depositor_tesim: [resource.depositor])
end