GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit ec35a9e8 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove unnecessary clear_stubs calls

parent f39fe34a
......@@ -5,11 +5,6 @@
let(:repository) {'default', TEST_REPO_PATH) }
after do
# Prevent cached stubs (gRPC connection objects) from poisoning tests.
describe "Respond to" do
subject { repository }
......@@ -6,13 +6,6 @@
let(:relative_path) { project.path_with_namespace + '.git' }
let(:client) { }
after do
# When we say `expect_any_instance_of(Gitaly::Ref::Stub)` a double is created,
# and because GitalyClient shares stubs these will get passed from example to
# example, which will cause an error, so we clean the stubs after each example.
describe '#branch_names' do
it 'sends a find_all_branch_names message' do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment