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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
add addition test level
as-opc27cc16b6b45
diff --git a/spec/models/exports/formatters/custom_field_hierarchy_spec.rb b/spec/models/exports/formatters/custom_field_hierarchy_spec.rbindex 4c9f832497a..d7f0be397ce 100644--- a/spec/models/exports/formatters/custom_field_hierarchy_spec.rb+++ b/spec/models/exports/formatters/custom_field_hierarchy_spec.rb@@ -37,6 +37,7 @@ RSpec.describe Exports::Formatters::CustomField dolet!(:homer) { service.insert_item(parent: root, label: "Homer", short: "HS").value! }let!(:bart) { service.insert_item(parent: homer, label: "Bart", short: "BS").value! }let!(:lisa) { service.insert_item(parent: homer, label: "Lisa").value! }+ let!(:zia) { service.insert_item(parent: lisa, label: "Zia").value! }let(:work_package) docf = build_stubbed(:work_package)allow(cf)@@ -75,18 +76,19 @@ RSpec.describe Exports::Formatters::CustomField doendend- describe "with a multiple values" do+ describe "with multiple values" dolet(:custom_values) do[CustomValue.new(custom_field:, value: homer.id),CustomValue.new(custom_field:, value: bart.id),- CustomValue.new(custom_field:, value: lisa.id)+ CustomValue.new(custom_field:, value: lisa.id),+ CustomValue.new(custom_field:, value: zia.id)]end- it "returns mulitple comma-separated values" do+ it "returns multiple comma-separated values" doexpect(subject.format_for_export(work_package, custom_field))- .to eq("Homer (HS), Homer (HS) / Bart (BS), Homer (HS) / Lisa")+ .to eq("Homer (HS), Homer (HS) / Bart (BS), Homer (HS) / Lisa, Homer (HS) / Lisa / Zia")endendend