Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2018-01-16 17:25:05 +0300
committerBalasankar "Balu" C <balasankar@gitlab.com>2018-01-16 17:25:05 +0300
commit740d819e8777e70de5827428e711ed5ed81ab177 (patch)
tree1a88757019aee9af316e6b54f156c591d0c60c5f /spec/lib/backup
parenta3633805829a5ce3e8e255bdc4408af2aa49a83f (diff)
Check for both backup files
Diffstat (limited to 'spec/lib/backup')
-rw-r--r--spec/lib/backup/manager_spec.rb2
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