gitlab-org--gitlab-foss/spec/support/stored_repositories.rb

8 lines
206 B
Ruby
Raw Normal View History

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
end