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/tasks_to_be_done | |
parent | 20c84b99005abd1c82101dfeff264ac50d2df211 (diff) | |
download | gitlab-ce-16.0.0-rc42.tar.gz |
Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc4216-0-stable
Diffstat (limited to 'spec/services/tasks_to_be_done')
-rw-r--r-- | spec/services/tasks_to_be_done/base_service_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/tasks_to_be_done/base_service_spec.rb b/spec/services/tasks_to_be_done/base_service_spec.rb index cfeff36cc0d..3ca9d140197 100644 --- a/spec/services/tasks_to_be_done/base_service_spec.rb +++ b/spec/services/tasks_to_be_done/base_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe TasksToBeDone::BaseService do +RSpec.describe TasksToBeDone::BaseService, feature_category: :team_planning do let_it_be(:project) { create(:project) } let_it_be(:current_user) { create(:user) } let_it_be(:assignee_one) { create(:user) } @@ -33,9 +33,9 @@ RSpec.describe TasksToBeDone::BaseService do add_labels: label.title } - expect(Issues::BuildService) + expect(Issues::CreateService) .to receive(:new) - .with(container: project, current_user: current_user, params: params) + .with(container: project, current_user: current_user, params: params, spam_params: nil) .and_call_original expect { service.execute }.to change(Issue, :count).by(1) |