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
Re-work expectations on work package create service spec file
Aaron Contreras5ffcfd304d52
diff --git a/spec/services/work_packages/create_service_integration_spec.rb b/spec/services/work_packages/create_service_integration_spec.rbindex f09e7f740d9..4f1d3c09aeb 100644--- a/spec/services/work_packages/create_service_integration_spec.rb+++ b/spec/services/work_packages/create_service_integration_spec.rb@@ -119,7 +119,8 @@ RSpec.describe WorkPackages::CreateService, 'integration', type: :model dolet(:attributes) do{ subject: 'blubs',project:,- done_ratio: 50,+ estimated_hours: 10.0,+ remaining_hours: 5.0,parent:,start_date: Date.current,due_date: Date.current + 3.days }@@ -155,7 +156,7 @@ RSpec.describe WorkPackages::CreateService, 'integration', type: :model do# parent updatedparent.reloadexpect(parent.derived_done_ratio)- .to eql attributes[:done_ratio]+ .to eq 50expect(parent.start_date).to eql attributes[:start_date]expect(parent.due_date)