Skip to content

Commit

Permalink
Remove tests for descriptive and access metadata
Browse files Browse the repository at this point in the history
That functionality lives in ActiveFedora and Hyra::AccessControls.
We don't need to test for it here.

See #53 for further discussion of where ACLs belong.
  • Loading branch information
jcoyne committed May 7, 2015
1 parent 8a080ad commit ae1d128
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 37 deletions.
19 changes: 1 addition & 18 deletions spec/hydra/pcdm/models/collection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class Awbject < Hydra::PCDM::Object
expect(collection1.objects).to eq []
end

it 'should return empty array when only collections are aggregated' do
it 'should return empty array when only collections are aggregated' do
collection1.collections = [collection2,collection3]
collection1.save
expect(collection1.objects).to eq []
Expand All @@ -202,21 +202,4 @@ class Awbject < Hydra::PCDM::Object
expect(collection1.objects).to eq [object1,object2]
end
end

describe '#METHOD_TO_SET_METADATA' do
xit 'should be able to set descriptive metadata' do
# 6) Hydra::PCDM::Collection can have descriptive metadata

# TODO Write test

end

xit 'should be able to set access metadata' do
# 7) Hydra::PCDM::Collection can have access metadata

# TODO Write test

end
end

end
19 changes: 0 additions & 19 deletions spec/hydra/pcdm/models/object_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,23 +86,4 @@

end
end



describe '#METHOD_TO_SET_METADATA' do
xit 'should be able to set descriptive metadata' do
# 6) Hydra::PCDM::Collection can have descriptive metadata

# TODO Write test

end

xit 'should be able to set access metadata' do
# 7) Hydra::PCDM::Object can have descriptive metadata

# TODO Write test

end
end

end

0 comments on commit ae1d128

Please sign in to comment.