summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-06-19 12:45:49 +0000
committerDouwe Maan <douwe@gitlab.com>2018-06-19 12:45:49 +0000
commitb0fadeee83f25fc96eac93ea1f0fb278e10ea266 (patch)
tree34a4e11a41373b70ec5f43957de40ff56b61cce2 /spec/lib/gitlab
parentd04ac74556e74df89da8f46ed4188b0376b71c3d (diff)
parentc24e39ab88af8fa3087efa0c7c6335e2941d8641 (diff)
downloadgitlab-ce-b0fadeee83f25fc96eac93ea1f0fb278e10ea266.tar.gz
Merge branch 'zj-counting-commits' into 'master'
Counting commits is done by Gitaly Closes gitaly#382 See merge request gitlab-org/gitlab-ce!19983
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r--spec/lib/gitlab/git/repository_spec.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/spec/lib/gitlab/git/repository_spec.rb b/spec/lib/gitlab/git/repository_spec.rb
index 9329442fad1..595482f76d5 100644
--- a/spec/lib/gitlab/git/repository_spec.rb
+++ b/spec/lib/gitlab/git/repository_spec.rb
@@ -1114,7 +1114,7 @@ describe Gitlab::Git::Repository, seed_helper: true do
end
describe '#count_commits' do
- shared_examples 'extended commit counting' do
+ describe 'extended commit counting' do
context 'with after timestamp' do
it 'returns the number of commits after timestamp' do
options = { ref: 'master', after: Time.iso8601('2013-03-03T20:15:01+00:00') }
@@ -1199,14 +1199,6 @@ describe Gitlab::Git::Repository, seed_helper: true do
end
end
end
-
- context 'when Gitaly count_commits feature is enabled' do
- it_behaves_like 'extended commit counting'
- end
-
- context 'when Gitaly count_commits feature is disabled', :disable_gitaly do
- it_behaves_like 'extended commit counting'
- end
end
describe '#autocrlf' do