summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-08-28 14:18:14 +0200
committerJames Lopez <james@jameslopez.es>2017-08-28 15:24:24 +0200
commit91a1c210c51c568ca7847088fbad563075ec9688 (patch)
tree9443c57ee3f2640af5e60a5500c55ec06befba04
parent49495fe63d119e9023e9dfc179eb28d1f8f344c4 (diff)
downloadgitlab-ce-fix/import-events.tar.gz
-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 931c91bde7c..562423afc2a 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, :created, target: milestone, project: project, author: user, action: 5)
+ event = create(:event, :created, target: milestone, project: project, author: user, action: 5)
create(:push_event_payload, event: event)
create(:project_member, :master, user: user, project: project)
create(:ci_variable, project: project)