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

add ee to test

as-op4bdf5708547b
diff --git a/spec/models/exports/formatters/custom_field_hierarchy_spec.rb b/spec/models/exports/formatters/custom_field_hierarchy_spec.rb
index d7f0be397ce..11c950fac3a 100644
--- a/spec/models/exports/formatters/custom_field_hierarchy_spec.rb
+++ b/spec/models/exports/formatters/custom_field_hierarchy_spec.rb
@@ -30,7 +30,7 @@
require "spec_helper"
-RSpec.describe Exports::Formatters::CustomField do
+RSpec.describe Exports::Formatters::CustomField, with_ee: [:custom_field_hierarchies] do
let(:service) { CustomFields::Hierarchy::HierarchicalItemService.new }
let(:custom_field) { create(:custom_field, field_format: "hierarchy", hierarchy_root: nil) }
let(:root) { service.generate_root(custom_field).value! }