diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-15 03:14:24 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-15 03:14:24 +0000 |
commit | d482517583173924ba7961a2b0e9e07d1b51bb78 (patch) | |
tree | 01ef6769846a451c4e3539caa1e32f54dd001157 /spec/factories | |
parent | 9b0b4d9b9484aaeb82de5f24942460c679ae909e (diff) | |
download | gitlab-ce-d482517583173924ba7961a2b0e9e07d1b51bb78.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/resource_events/issue_assignment_events.rb | 9 | ||||
-rw-r--r-- | spec/factories/resource_events/merge_request_assignment_events.rb | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/spec/factories/resource_events/issue_assignment_events.rb b/spec/factories/resource_events/issue_assignment_events.rb new file mode 100644 index 00000000000..72319905d0d --- /dev/null +++ b/spec/factories/resource_events/issue_assignment_events.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :issue_assignment_event, class: 'ResourceEvents::IssueAssignmentEvent' do + action { :add } + issue + user + end +end diff --git a/spec/factories/resource_events/merge_request_assignment_events.rb b/spec/factories/resource_events/merge_request_assignment_events.rb new file mode 100644 index 00000000000..6d388543648 --- /dev/null +++ b/spec/factories/resource_events/merge_request_assignment_events.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :merge_request_assignment_event, class: 'ResourceEvents::MergeRequestAssignmentEvent' do + action { :add } + merge_request + user + end +end |