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 6, 2015
1 parent 4551831 commit e12bf7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
21 changes: 1 addition & 20 deletions spec/hydra/pcdm/models/collection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
collection1 = Hydra::PCDM::Collection.create
collection2 = Hydra::PCDM::Collection.create
collection3 = Hydra::PCDM::Collection.create

collection1.collections = [collection2,collection3]
collection1.save
expect(collection1.collections).to eq [collection2,collection3]
Expand Down Expand Up @@ -196,7 +196,6 @@
end
end


describe '#contains' do
xit 'should NOT contain files' do
# 5) Hydra::PCDM::Collection can NOT contain Hydra::PCDM::File
Expand All @@ -205,22 +204,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::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 e12bf7f

Please sign in to comment.