Skip to content

Commit

Permalink
Removed WithEditors module. It isn't used
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jul 17, 2015
1 parent 8845ef0 commit bebdec2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module CurationConcerns::GenericWorkBehavior
include ::CurationConcerns::HasRepresentative
include ::CurationConcerns::WithGenericFiles
include Hydra::AccessControls::Embargoable
include ::CurationConcerns::WithEditors

included do
property :owner, predicate: RDF::URI.new('http://opaquenamespace.org/ns/hydra/owner'), multiple: false
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class EssentialWork < ActiveFedora::Base
subject { EssentialWork.new }

it "should mix together all the goodness" do
[::CurationConcerns::WithGenericFiles, ::CurationConcerns::HumanReadableType, ::CurationConcerns::WithEditors, CurationConcerns::Noid, CurationConcerns::Serializers, Hydra::WithDepositor, Hydra::AccessControls::Embargoable, Hydra::Collections::Collectible, Solrizer::Common].each do |mixin|
[::CurationConcerns::WithGenericFiles, ::CurationConcerns::HumanReadableType, CurationConcerns::Noid, CurationConcerns::Serializers, Hydra::WithDepositor, Hydra::AccessControls::Embargoable, Hydra::Collections::Collectible, Solrizer::Common].each do |mixin|
expect(subject.class.ancestors).to include(mixin)
end
end
Expand Down

0 comments on commit bebdec2

Please sign in to comment.