diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-28 15:10:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-28 15:10:41 +0300 |
commit | b1e352740bd52771b419829abef0a0ad73141ac1 (patch) | |
tree | e86202376eb85b6314ab90fe028c0889098b05ef /spec/helpers | |
parent | aeee5b6a212eafefe3c994fb3731ccfca590a6ba (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/groups_helper_spec.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/helpers/groups_helper_spec.rb b/spec/helpers/groups_helper_spec.rb index 13f84fecaa5..5703bfeaea7 100644 --- a/spec/helpers/groups_helper_spec.rb +++ b/spec/helpers/groups_helper_spec.rb @@ -554,23 +554,4 @@ RSpec.describe GroupsHelper do expect(helper.render_setting_to_allow_project_access_token_creation?(group)).to be_falsy end end - - describe '#cached_issuables_count' do - let_it_be(:current_user) { create(:user) } - let_it_be(:group) { create(:group, name: 'group') } - - context 'with issues type' do - let(:type) { :issues } - let(:count_service) { Groups::OpenIssuesCountService } - - it_behaves_like 'cached issuables count' - end - - context 'with merge requests type' do - let(:type) { :merge_requests } - let(:count_service) { Groups::MergeRequestsCountService } - - it_behaves_like 'cached issuables count' - end - end end |