diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-24 15:10:36 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-24 15:10:36 +0000 |
commit | 234dc40a12a1cdaef0cdb825ca4acc3f271c6394 (patch) | |
tree | fb9875dca8b558acafa54c36a591b4d2ed10fc49 /spec/factories/topics.rb | |
parent | c7864d3d50b4002c621c7cba2e1ebfb5d23ac7ed (diff) | |
download | gitlab-ce-234dc40a12a1cdaef0cdb825ca4acc3f271c6394.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/topics.rb')
-rw-r--r-- | spec/factories/topics.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/topics.rb b/spec/factories/topics.rb new file mode 100644 index 00000000000..e77441d9eae --- /dev/null +++ b/spec/factories/topics.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :topic, class: 'Projects::Topic' do + name { generate(:name) } + end +end |