diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 16:05:49 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 16:05:49 +0000 |
commit | 43a25d93ebdabea52f99b05e15b06250cd8f07d7 (patch) | |
tree | dceebdc68925362117480a5d672bcff122fb625b /spec/services/boards/issues/list_service_spec.rb | |
parent | 20c84b99005abd1c82101dfeff264ac50d2df211 (diff) | |
download | gitlab-ce-0f94cf6ca9d272d8e0fda4a7a597866cf3dc1fc0.tar.gz |
Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc4216-0-stable
Diffstat (limited to 'spec/services/boards/issues/list_service_spec.rb')
-rw-r--r-- | spec/services/boards/issues/list_service_spec.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/spec/services/boards/issues/list_service_spec.rb b/spec/services/boards/issues/list_service_spec.rb index 1959710bb0c..4089e9e6da0 100644 --- a/spec/services/boards/issues/list_service_spec.rb +++ b/spec/services/boards/issues/list_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe Boards::Issues::ListService do +RSpec.describe Boards::Issues::ListService, feature_category: :team_planning do describe '#execute' do let_it_be(:user) { create(:user) } @@ -57,7 +57,15 @@ RSpec.describe Boards::Issues::ListService do end context 'when filtering' do - let_it_be(:incident) { create(:labeled_issue, project: project, milestone: m1, labels: [development, p1], issue_type: 'incident') } + let_it_be(:incident) do + create( + :labeled_issue, + :incident, + project: project, + milestone: m1, + labels: [development, p1] + ) + end context 'when filtering by type' do it 'only returns the specified type' do @@ -77,7 +85,6 @@ RSpec.describe Boards::Issues::ListService do end end - # rubocop: disable RSpec/MultipleMemoizedHelpers context 'when parent is a group' do let(:project) { create(:project, :empty_repo, namespace: group) } let(:project1) { create(:project, :empty_repo, namespace: group) } @@ -148,7 +155,6 @@ RSpec.describe Boards::Issues::ListService do it_behaves_like 'issues list service' end end - # rubocop: enable RSpec/MultipleMemoizedHelpers end describe '.initialize_relative_positions' do |