You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In collection/add_object_spec and object/add_object_spec...
it 'should allow objects to repeat' do
Hydra::PCDM::AddObjectToCollection.call( subject, object1 )
Hydra::PCDM::AddObjectToCollection.call( subject, object2 )
Hydra::PCDM::AddObjectToCollection.call( subject, object1 )
subject.save
expect( Hydra::PCDM::GetObjectsFromCollection.call( subject.reload ) ).to eq [object1,object2,object1]
end
This test fails with Get returning [object1,object2].
NOTE: This test needs to be updated to save after Add and reload before Get. Otherwise, the problem is masked.
It could be that Add and Get need to be updated to process repeating objects. The other possibility is that something is happening at the ActiveFedora level.
The text was updated successfully, but these errors were encountered:
In collection/add_object_spec and object/add_object_spec...
This test fails with Get returning [object1,object2].
NOTE: This test needs to be updated to save after Add and reload before Get. Otherwise, the problem is masked.
It could be that Add and Get need to be updated to process repeating objects. The other possibility is that something is happening at the ActiveFedora level.
The text was updated successfully, but these errors were encountered: