summaryrefslogtreecommitdiff
path: root/spec/support/import_export/export_file_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/import_export/export_file_helper.rb')
-rw-r--r--spec/support/import_export/export_file_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/import_export/export_file_helper.rb b/spec/support/import_export/export_file_helper.rb
index 944ea30656f..2011408be93 100644
--- a/spec/support/import_export/export_file_helper.rb
+++ b/spec/support/import_export/export_file_helper.rb
@@ -6,11 +6,11 @@ module ExportFileHelper
ObjectWithParent = Struct.new(:object, :parent, :key_found)
def setup_project
- project = create(:project, :public)
+ project = create(:project, :public, :repository)
create(:release, project: project)
- issue = create(:issue, assignee: user, project: project)
+ issue = create(:issue, assignees: [user], project: project)
snippet = create(:project_snippet, project: project)
label = create(:label, project: project)
milestone = create(:milestone, project: project)