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
Fix flaky specs
Christophe Bliardea1c61715dbf
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rbindex 15eef7aacdc..1cc598ffe39 100644--- a/spec/models/project_spec.rb+++ b/spec/models/project_spec.rb@@ -310,10 +310,10 @@ RSpec.describe Project doendend- describe '#desendants' do+ describe '#descendants' doit 'returns the descendants of the work package' doexpect(root_project.descendants)- .to eq [parent_project, child_project1, child_project2]+ .to contain_exactly(parent_project, child_project1, child_project2)endit 'returns empty array if there are no descendants' do@@ -325,7 +325,7 @@ RSpec.describe Project dodescribe '#children' doit 'returns the children of the work package' doexpect(parent_project.children)- .to eq [child_project1, child_project2]+ .to contain_exactly(child_project1, child_project2)endit 'returns empty array if there are no descendants' do