spec/unit/config_spec.rb in hydra-access-controls-10.5.1 vs spec/unit/config_spec.rb in hydra-access-controls-10.6.0

- old
+ new

@@ -12,10 +12,10 @@ individual: ActiveFedora.index_field_mapper.solr_name("read_access_person", :symbol)}, edit: { group: ActiveFedora.index_field_mapper.solr_name("edit_access_group", :symbol), individual: ActiveFedora.index_field_mapper.solr_name("edit_access_person", :symbol)}, owner: ActiveFedora.index_field_mapper.solr_name("depositor", :symbol), } - config.permissions.embargo.release_date = ActiveFedora.index_field_mapper.solr_name("embargo_release_date", Solrizer::Descriptor.new(:date, :stored, :indexed)) + config.permissions.embargo.release_date = ActiveFedora.index_field_mapper.solr_name("embargo_release_date", ActiveFedora::Indexing::Descriptor.new(:date, :stored, :indexed)) # specify the user model config[:user_model] = 'User' expect(config[:permissions][:edit][:individual]).to eq 'edit_access_person_ssim'