Skip to content

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

Merge branch 'dev' into feature/40749-consistent-calculation-of-percent-complete

Christophe Bliardd085f3e35188
diff --cc spec/services/work_packages/create_service_integration_spec.rb
index 4f1d3c09aeb,7c9b1373706..525333852e2
--- a/spec/services/work_packages/create_service_integration_spec.rb
+++ b/spec/services/work_packages/create_service_integration_spec.rb
@@@ -115,18 -113,17 +115,18 @@@ RSpec.describe WorkPackages::CreateServ
end
end
- describe '#call' do
+ describe "#call" do
let(:attributes) do
- { subject: 'blubs',
+ { subject: "blubs",
project:,
- done_ratio: 50,
+ estimated_hours: 10.0,
+ remaining_hours: 5.0,
parent:,
- start_date: Date.today,
- due_date: Date.today + 3.days }
+ start_date: Date.current,
+ due_date: Date.current + 3.days }
end
- it 'creates the work_package with the provided attributes and sets the user as a watcher' do
+ it "creates the work_package with the provided attributes and sets the user as a watcher" do
# successful
expect(service_result)
.to be_success