summaryrefslogtreecommitdiff
path: root/spec/support/stored_repositories.rb
blob: 55212355daadac143ecef72daf3ccb1add21650b (plain)
1
2
3
4
5
6
7
RSpec.configure do |config|
  config.before(:each, :broken_storage) do
    allow(Gitlab::GitalyClient).to receive(:call) do
      raise GRPC::Unavailable.new('Gitaly broken in this spec')
    end
  end
end