Imitate other specs

This commit is contained in:
Balasankar "Balu" C 2018-01-16 17:44:43 +05:30
parent dd1bf98cb3
commit a363380582
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ describe Backup::Manager do
end
it 'prints the list of available backups' do
subject.unpack
expect { subject.unpack }.to raise_error SystemExit
expect(progress).to have_received(:puts)
.with(a_string_matching('1451606400_2016_01_01_1.2.3'))
end