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
|