import more stuff

This commit is contained in:
simon lehericey 2023-05-15 12:54:20 +02:00 committed by LeSim
parent 6f41f0e1c6
commit 06b6663662
6 changed files with 205 additions and 14 deletions

View file

@ -5,7 +5,7 @@ describe Recovery::Exporter do
def cleanup_export_file
# if File.exist?(fp)
# FileUtils.rm(fp)
# FileUtils.rm(fp)
# end
end
@ -13,11 +13,11 @@ describe Recovery::Exporter do
after { cleanup_export_file }
it 'exports dossiers to .dump' do
expect{ subject }.not_to raise_error
expect { subject }.not_to raise_error
end
it 'exports dossiers local file .dump' do
expect{ subject }.to change { File.exist?(fp) }
expect { subject }.to change { File.exist?(fp) }
.from(false).to(true)
end