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

stored_repositories.rb « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 84396c675b9f7ca318a12d4c537675b7b9b40f7f (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

RSpec.configure do |config|
  config.before(:each, :broken_storage) do
    allow(Gitlab::GitalyClient).to receive(:call) do
      raise GRPC::Unavailable, 'Gitaly broken in this spec'
    end
  end
end