Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-01-30 01:37:24 +0300
committerRobert Speicher <rspeicher@gmail.com>2017-02-02 00:02:03 +0300
commite48a1755f42eabb2f459028d10d2d6c1160af4af (patch)
tree38bced3a3d7fc55f70df01e1804260536b37f28d /spec/support/import_export
parentb525aff665f139cd12ac5a6df78d722427e759cc (diff)
Add traits for the different Event types to the Event factory
Diffstat (limited to 'spec/support/import_export')
-rw-r--r--spec/support/import_export/export_file_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/import_export/export_file_helper.rb b/spec/support/import_export/export_file_helper.rb
index 1b0a4583f5c..944ea30656f 100644
--- a/spec/support/import_export/export_file_helper.rb
+++ b/spec/support/import_export/export_file_helper.rb
@@ -35,7 +35,7 @@ module ExportFileHelper
project: project,
commit_id: ci_pipeline.sha)
- create(:event, target: milestone, project: project, action: Event::CREATED, author: user)
+ create(:event, :created, target: milestone, project: project, author: user)
create(:project_member, :master, user: user, project: project)
create(:ci_variable, project: project)
create(:ci_trigger, project: project)