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
[58105] Renamed context inside hierarchical_item_service_spec
Andreas Pfohl06599b2ce944
diff --git a/spec/services/custom_fields/hierarchy/hierarchical_item_service_spec.rb b/spec/services/custom_fields/hierarchy/hierarchical_item_service_spec.rbindex e3b7fd68175..b5199522c2c 100644--- a/spec/services/custom_fields/hierarchy/hierarchical_item_service_spec.rb+++ b/spec/services/custom_fields/hierarchy/hierarchical_item_service_spec.rb@@ -78,14 +78,12 @@ RSpec.describe CustomFields::Hierarchy::HierarchicalItemService dolet(:short) { "Short Description" }context "with valid parameters" do- it "inserts an item successfully" do+ it "inserts an item successfully without short" doresult = service.insert_item(parent:, label:)expect(result).to be_successend- end- context "with invalid short" do- it "fails to insert an item" do+ it "inserts an item successfully with short" doresult = service.insert_item(parent:, label:, short:)expect(result).to be_successend