Skip to content
Snippets Groups Projects
Commit 740d819e authored by Balasankar C's avatar Balasankar C
Browse files

Check for both backup files

parent a3633805
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment