test/EquiBlobsFile_spec.rb in perobs-3.0.2 vs test/EquiBlobsFile_spec.rb in perobs-4.0.0
- old
+ new
@@ -177,13 +177,9 @@
expect(@bf.total_entries).to eql(0)
expect(@bf.total_spaces).to eql(0)
expect(@bf.check).to be true
end
- it 'should not allow erase when open' do
- expect{ capture_io{ @bf.erase } }.to raise_error(PEROBS::FatalError)
- end
-
it 'should support erasing the file' do
@bf.close
@bf.erase
@bf.open
expect(@bf.total_entries).to eql(0)