spec/support/mods_asset.rb in hydra-access-controls-6.5.2 vs spec/support/mods_asset.rb in hydra-access-controls-7.0.0.pre1

- old
+ new

@@ -1,9 +1,8 @@ require 'active-fedora' - class ModsAsset < ActiveFedora::Base include Hydra::AccessControls::Permissions - + # This is how we're associating admin policies with assets. # You can associate them however you want, just use the :is_governed_by relationship belongs_to :admin_policy, :class_name=> "Hydra::AdminPolicy", :property=>:is_governed_by end