diff options
author | Balasankar "Balu" C <balasankar@gitlab.com> | 2018-01-16 19:55:05 +0530 |
---|---|---|
committer | Balasankar "Balu" C <balasankar@gitlab.com> | 2018-01-16 19:55:05 +0530 |
commit | 740d819e8777e70de5827428e711ed5ed81ab177 (patch) | |
tree | 1a88757019aee9af316e6b54f156c591d0c60c5f /spec/lib/backup/manager_spec.rb | |
parent | a3633805829a5ce3e8e255bdc4408af2aa49a83f (diff) | |
download | gitlab-ce-740d819e8777e70de5827428e711ed5ed81ab177.tar.gz |
Check for both backup filesprint-list-of-available-backups
Diffstat (limited to 'spec/lib/backup/manager_spec.rb')
-rw-r--r-- | spec/lib/backup/manager_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/backup/manager_spec.rb b/spec/lib/backup/manager_spec.rb index 52fc263436d..5100f5737c2 100644 --- a/spec/lib/backup/manager_spec.rb +++ b/spec/lib/backup/manager_spec.rb @@ -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 |