One more backup spec fix

Stop the 'uploads' part from actually running.
This commit is contained in:
Jacob Vosmaer 2015-10-06 16:11:59 +02:00
parent 852526e07f
commit b847baf8c4
1 changed files with 1 additions and 0 deletions

View File

@ -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