Commit 810ffab4 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use a loop when enabling subtasks

parent 4612599e
...@@ -74,9 +74,9 @@ describe 'gitlab:app namespace rake task' do ...@@ -74,9 +74,9 @@ describe 'gitlab:app namespace rake task' do
end end
def reenable_backup_sub_tasks def reenable_backup_sub_tasks
Rake::Task["gitlab:backup:db:create"].reenable %w{db repo uploads}.each do |subtask|
Rake::Task["gitlab:backup:repo:create"].reenable Rake::Task["gitlab:backup:#{subtask}:create"].reenable
Rake::Task["gitlab:backup:uploads:create"].reenable end
end end
before :all do before :all do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment