summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-02-03 18:44:06 +0000
committerRémy Coutable <remy@rymai.me>2017-02-03 18:44:06 +0000
commit785fadf33fb23c4c95edeaa84ef5bd267ce753d5 (patch)
treec7d9235fef60da448939275b9495f47931e8d328 /spec/support
parent538a6875d3b53f909e9b5b6ef396a457cbcae760 (diff)
parente48a1755f42eabb2f459028d10d2d6c1160af4af (diff)
downloadgitlab-ce-785fadf33fb23c4c95edeaa84ef5bd267ce753d5.tar.gz
Merge branch 'rs-event-traits' into 'master'
Add traits for the different Event types to the Event factory See merge request !8870
Diffstat (limited to 'spec/support')
-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)