Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rake_helpers.rb « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 52d80c698355e26c40b823bc0d1eb558b6ef079a (plain)
1
2
3
4
5
6
7
8
9
10
module RakeHelpers
  def run_rake_task(task_name)
    Rake::Task[task_name].reenable
    Rake.application.invoke_task task_name
  end

  def stub_warn_user_is_not_gitlab
    allow_any_instance_of(Object).to receive(:warn_user_is_not_gitlab)
  end
end