Skip to content

Commit

Permalink
Re-work UpdateAncestorsService specs
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-contreras committed Mar 5, 2024
1 parent 40c4397 commit 87fb412
Show file tree
Hide file tree
Showing 2 changed files with 599 additions and 186 deletions.
4 changes: 2 additions & 2 deletions app/services/work_packages/update_ancestors_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def derive_attributes(work_package, loader, attributes)
# or the derived remaining hours, depending on the % Complete mode
# currently active.
#
%i[estimated_hours] => :derive_estimated_hours,
%i[remaining_hours] => :derive_remaining_hours,
%i[estimated_hours remaining_hours] => :derive_estimated_hours,
%i[remaining_hours estimated_hours] => :derive_remaining_hours,
%i[estimated_hours done_ratio status status_id] => :derive_done_ratio,
%i[ignore_non_working_days] => :derive_ignore_non_working_days
}.each do |derivative_attributes, method|
Expand Down
Loading

0 comments on commit 87fb412

Please sign in to comment.