summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-16 12:08:03 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-16 12:08:03 +0000
commit12166c0faf75479889bc0ac432b85b9dae91552b (patch)
treefc5a3140e12c815beb6c34d44e2ad423a4f302ad /spec/factories
parentb1a0a71628cb4531f3b9a2999f5aa4d22f6ac5fb (diff)
downloadgitlab-ce-12166c0faf75479889bc0ac432b85b9dae91552b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/work_items/widget_definitions.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/factories/work_items/widget_definitions.rb b/spec/factories/work_items/widget_definitions.rb
new file mode 100644
index 00000000000..bbd7c1e7432
--- /dev/null
+++ b/spec/factories/work_items/widget_definitions.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+FactoryBot.define do
+ factory :widget_definition, class: 'WorkItems::WidgetDefinition' do
+ work_item_type
+ namespace
+
+ name { 'Description' }
+ widget_type { 'description' }
+ end
+end