blob: 95f0f9717875d97a5af2994191b3f95cd0ef9aab (
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.new('Gitaly broken in this spec')
end
end
end
|