diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-05 18:09:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-05 18:09:28 +0300 |
commit | 4046c3447e0a01fe48e224e72e12b27859b92822 (patch) | |
tree | 63b8293134d5cc6030abc7a5d2aeb34a34f54925 /spec/factories/usage_data.rb | |
parent | 64f7eb2b37aebbb713463b2f6971b13191c1b0db (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/usage_data.rb')
-rw-r--r-- | spec/factories/usage_data.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/usage_data.rb b/spec/factories/usage_data.rb index 0ed4176109a..714f8451f39 100644 --- a/spec/factories/usage_data.rb +++ b/spec/factories/usage_data.rb @@ -121,8 +121,8 @@ FactoryBot.define do env = create(:environment, project: projects[3]) [3, 31].each do |n| deployment_options = { created_at: n.days.ago, project: env.project, environment: env } - create(:deployment, :failed, deployment_options) - create(:deployment, :success, deployment_options) + create(:deployment, :failed, **deployment_options) + create(:deployment, :success, **deployment_options) create_list(:project_snippet, 2, project: projects[0], created_at: n.days.ago) create(:personal_snippet, created_at: n.days.ago) end |