From ae1d12820d26497ca9dbe464f2d358ff31894c4a Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Wed, 6 May 2015 15:47:42 -0500 Subject: [PATCH] Remove tests for descriptive and access metadata 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. --- spec/hydra/pcdm/models/collection_spec.rb | 19 +------------------ spec/hydra/pcdm/models/object_spec.rb | 19 ------------------- 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/spec/hydra/pcdm/models/collection_spec.rb b/spec/hydra/pcdm/models/collection_spec.rb index e1f1c005..16362d9f 100644 --- a/spec/hydra/pcdm/models/collection_spec.rb +++ b/spec/hydra/pcdm/models/collection_spec.rb @@ -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 [] @@ -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 diff --git a/spec/hydra/pcdm/models/object_spec.rb b/spec/hydra/pcdm/models/object_spec.rb index dd714ed9..18157715 100644 --- a/spec/hydra/pcdm/models/object_spec.rb +++ b/spec/hydra/pcdm/models/object_spec.rb @@ -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