Commit a3633805 authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Imitate other specs

parent dd1bf98c
...@@ -195,7 +195,7 @@ describe Backup::Manager do ...@@ -195,7 +195,7 @@ describe Backup::Manager do
end end
it 'prints the list of available backups' do it 'prints the list of available backups' do
subject.unpack expect { subject.unpack }.to raise_error SystemExit
expect(progress).to have_received(:puts) 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'))
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment