Check for both backup files

This commit is contained in:
Balasankar "Balu" C 2018-01-16 19:55:05 +05:30
parent a363380582
commit 740d819e87

View file

@ -197,7 +197,7 @@ describe Backup::Manager do
it 'prints the list of available backups' do
expect { subject.unpack }.to raise_error SystemExit
expect(progress).to have_received(:puts)
.with(a_string_matching('1451606400_2016_01_01_1.2.3'))
.with(a_string_matching('1451606400_2016_01_01_1.2.3\n 1451520000_2015_12_31'))
end
it 'fails the operation and prints an error' do