2019-07-25 01:27:42 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-03-28 13:27:44 -04:00
|
|
|
RSpec.configure do |config|
|
2017-05-17 12:17:15 -04:00
|
|
|
config.before(:each, :broken_storage) do
|
|
|
|
allow(Gitlab::GitalyClient).to receive(:call) do
|
|
|
|
raise GRPC::Unavailable.new('Gitaly broken in this spec')
|
|
|
|
end
|
|
|
|
end
|
2017-03-28 13:27:44 -04:00
|
|
|
end
|