2017-03-28 17:27:44 +00:00
|
|
|
RSpec.configure do |config|
|
2017-05-17 16:17:15 +00: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 17:27:44 +00:00
|
|
|
end
|