summaryrefslogtreecommitdiff
path: root/spec/tasks
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-10-06 16:11:59 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-10-06 16:11:59 +0200
commitb847baf8c405935415fcd4ad4a620d577f6526f8 (patch)
tree60e9a41a934164fe2c274866abc4f44f1dd3d099 /spec/tasks
parent852526e07fdac8cc11bdd4dd47cab71b39ae192c (diff)
downloadgitlab-ce-b847baf8c405935415fcd4ad4a620d577f6526f8.tar.gz
One more backup spec fix
Stop the 'uploads' part from actually running.
Diffstat (limited to 'spec/tasks')
-rw-r--r--spec/tasks/gitlab/backup_rake_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/tasks/gitlab/backup_rake_spec.rb b/spec/tasks/gitlab/backup_rake_spec.rb
index 9a881455ea1..386ac9c8372 100644
--- a/spec/tasks/gitlab/backup_rake_spec.rb
+++ b/spec/tasks/gitlab/backup_rake_spec.rb
@@ -55,6 +55,7 @@ describe 'gitlab:app namespace rake task' do
expect(Rake::Task["gitlab:backup:db:restore"]).to receive(:invoke)
expect(Rake::Task["gitlab:backup:repo:restore"]).to receive(:invoke)
expect(Rake::Task["gitlab:backup:builds:restore"]).to receive(:invoke)
+ expect(Rake::Task["gitlab:backup:uploads:restore"]).to receive(:invoke)
expect(Rake::Task["gitlab:shell:setup"]).to receive(:invoke)
expect { run_rake_task('gitlab:backup:restore') }.not_to raise_error
end