summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-05 15:08:23 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-05 15:08:23 +0000
commit86e1f47cd19e7c164fb0b2c24e28a63ea27ae5ff (patch)
tree016d11e5f9df14b69e28475641160c8a843cbc34 /spec/factories
parent38b39c50473ba58a80ddad5c22c96ccd5128ddfb (diff)
downloadgitlab-ce-86e1f47cd19e7c164fb0b2c24e28a63ea27ae5ff.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/design_management/designs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/design_management/designs.rb b/spec/factories/design_management/designs.rb
index 59d4cc56f95..6d1229063d8 100644
--- a/spec/factories/design_management/designs.rb
+++ b/spec/factories/design_management/designs.rb
@@ -35,7 +35,7 @@ FactoryBot.define do
sha = commit_version[action]
version = DesignManagement::Version.new(sha: sha, issue: issue, author: evaluator.author)
version.save(validate: false) # We need it to have an ID, validate later
- Gitlab::Database.bulk_insert(dv_table_name, [action.row_attrs(version)])
+ Gitlab::Database.bulk_insert(dv_table_name, [action.row_attrs(version)]) # rubocop:disable Gitlab/BulkInsert
end
# always a creation