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 test expectations
Christophe Bliard471d1210e9b4
diff --git a/spec/services/work_packages/set_attributes_service_spec.rb b/spec/services/work_packages/set_attributes_service_spec.rbindex 552ccf6323b..6e7f1639067 100644--- a/spec/services/work_packages/set_attributes_service_spec.rb+++ b/spec/services/work_packages/set_attributes_service_spec.rb@@ -228,7 +228,7 @@ RSpec.describe WorkPackages::SetAttributesService,context "when work and remaining work are both changed to values with more than 2 decimals" dolet(:call_attributes) { { estimated_hours: 10.123456, remaining_hours: 5.6789 } }- let(:expected_attributes) { { estimated_hours: 10.12, remaining_hours: 5.68, done_ratio: 43 } }+ let(:expected_attributes) { { estimated_hours: 10.12, remaining_hours: 5.68, done_ratio: 44 } }it_behaves_like "service call", description: "rounds work and remaining work to 2 decimals " \"and updates % complete accordingly"