Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix copy spec setup.

Dombi Attila152b26aa72e0
diff --git a/spec/features/projects/copy_spec.rb b/spec/features/projects/copy_spec.rb
index fcb488a02bb..10fccf9dfb4 100644
--- a/spec/features/projects/copy_spec.rb
+++ b/spec/features/projects/copy_spec.rb
@@ -47,6 +47,10 @@ RSpec.describe "Projects copy", :js, :with_cuprite,
# Enable wiki
p.enabled_module_names += ["wiki"]
+
+ # Enable the project custom field mappings
+ p.project_custom_field_project_mappings
+ .create(custom_field_id: optional_project_custom_field_with_default.id)
end
end