f0391c2517
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
9 lines
237 B
Ruby
9 lines
237 B
Ruby
# 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
|