debian-mirror-gitlab/spec/support/stored_repositories.rb
2018-12-13 13:39:08 +05:30

7 lines
206 B
Ruby

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