stored_repositories.rb 237 Bytes
Newer Older
1 2
# frozen_string_literal: true

3
RSpec.configure do |config|
4 5 6 7 8
  config.before(:each, :broken_storage) do
    allow(Gitlab::GitalyClient).to receive(:call) do
      raise GRPC::Unavailable.new('Gitaly broken in this spec')
    end
  end
9
end