diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
commit | 7e9c479f7de77702622631cff2628a9c8dcbc627 (patch) | |
tree | c8f718a08e110ad7e1894510980d2155a6549197 /spec/lib/backup/pages_spec.rb | |
parent | e852b0ae16db4052c1c567d9efa4facc81146e88 (diff) |
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'spec/lib/backup/pages_spec.rb')
-rw-r--r-- | spec/lib/backup/pages_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/backup/pages_spec.rb b/spec/lib/backup/pages_spec.rb index 59df4d1adf7..551d2df8f30 100644 --- a/spec/lib/backup/pages_spec.rb +++ b/spec/lib/backup/pages_spec.rb @@ -23,7 +23,8 @@ RSpec.describe Backup::Pages do allow(Gitlab.config.pages).to receive(:path) { '/var/gitlab-pages' } expect(subject).to receive(:tar).and_return('blabla-tar') - expect(subject).to receive(:run_pipeline!).with([%w(blabla-tar --exclude=lost+found --exclude=./@pages.tmp -C /var/gitlab-pages -cf - .), 'gzip -c -1'], any_args) + expect(subject).to receive(:run_pipeline!).with([%w(blabla-tar --exclude=lost+found --exclude=./@pages.tmp -C /var/gitlab-pages -cf - .), 'gzip -c -1'], any_args).and_return([[true, true], '']) + expect(subject).to receive(:pipeline_succeeded?).and_return(true) subject.dump end end |