We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As an example, a problem with multiple objects appearing in a collection was hidden by not saving and reloading.
This passes...
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 ) expect( Hydra::PCDM::GetObjectsFromCollection.call( subject ) ).to eq [object1,object2,object1] end
This fails...
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As an example, a problem with multiple objects appearing in a collection was hidden by not saving and reloading.
This passes...
This fails...
The text was updated successfully, but these errors were encountered: