spec/support/app/models/sample.rb in hydra-batch-edit-0.0.6 vs spec/support/app/models/sample.rb in hydra-batch-edit-0.0.7

- old
+ new

@@ -28,6 +28,10 @@ end def pid @pid end + + def destroy + self.class.objects.delete(@pid) + end end