diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-22 15:16:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-22 15:16:22 +0300 |
commit | 96891fec6dfa20a8342a3daa25935213cfddae22 (patch) | |
tree | a09d9a3c565d28b33d0bbc1c1202061c8eb061b9 /spec/services/issues/build_service_spec.rb | |
parent | 8bf2e2b73e5898c78dd057e02828b6acc1647a70 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/issues/build_service_spec.rb')
-rw-r--r-- | spec/services/issues/build_service_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/issues/build_service_spec.rb b/spec/services/issues/build_service_spec.rb index cf75efb5c57..304e4bb3ebb 100644 --- a/spec/services/issues/build_service_spec.rb +++ b/spec/services/issues/build_service_spec.rb @@ -172,9 +172,9 @@ RSpec.describe Issues::BuildService do end describe 'setting issue type' do - context 'with a corresponding WorkItem::Type' do - let_it_be(:type_issue_id) { WorkItem::Type.default_issue_type.id } - let_it_be(:type_incident_id) { WorkItem::Type.default_by_type(:incident).id } + context 'with a corresponding WorkItems::Type' do + let_it_be(:type_issue_id) { WorkItems::Type.default_issue_type.id } + let_it_be(:type_incident_id) { WorkItems::Type.default_by_type(:incident).id } where(:issue_type, :current_user, :work_item_type_id, :resulting_issue_type) do nil | ref(:guest) | ref(:type_issue_id) | 'issue' |