diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-01-29 17:37:24 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-02-01 16:02:03 -0500 |
commit | e48a1755f42eabb2f459028d10d2d6c1160af4af (patch) | |
tree | 38bced3a3d7fc55f70df01e1804260536b37f28d /spec/support | |
parent | b525aff665f139cd12ac5a6df78d722427e759cc (diff) | |
download | gitlab-ce-e48a1755f42eabb2f459028d10d2d6c1160af4af.tar.gz |
Add traits for the different Event types to the Event factoryrs-event-traits
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/import_export/export_file_helper.rb | 2 |
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) |