BigW Consortium Gitlab

Commit 810ffab4 by Jacob Vosmaer

Use a loop when enabling subtasks

parent 4612599e
......@@ -74,9 +74,9 @@ describe 'gitlab:app namespace rake task' do
end
def reenable_backup_sub_tasks
Rake::Task["gitlab:backup:db:create"].reenable
Rake::Task["gitlab:backup:repo:create"].reenable
Rake::Task["gitlab:backup:uploads:create"].reenable
%w{db repo uploads}.each do |subtask|
Rake::Task["gitlab:backup:#{subtask}:create"].reenable
end
end
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