summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/git/object_pool_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/git/object_pool_spec.rb')
-rw-r--r--spec/lib/gitlab/git/object_pool_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/git/object_pool_spec.rb b/spec/lib/gitlab/git/object_pool_spec.rb
index e1873c6ddb5..91960ebbede 100644
--- a/spec/lib/gitlab/git/object_pool_spec.rb
+++ b/spec/lib/gitlab/git/object_pool_spec.rb
@@ -112,7 +112,7 @@ RSpec.describe Gitlab::Git::ObjectPool do
subject.fetch
- expect(subject.repository.commit_count('refs/remotes/origin/master')).to eq(commit_count)
+ expect(subject.repository.commit_count('refs/remotes/origin/heads/master')).to eq(commit_count)
expect(subject.repository.commit(new_commit_id).id).to eq(new_commit_id)
end
end