Patch #14886 » patch_no.yml-git.diff
| test/unit/issue_nested_set_test.rb | ||
|---|---|---|
|
assert_equal (50 * 20 + 20 * 10) / 30, parent.reload.done_ratio
|
||
|
end
|
||
|
def test_parent_done_ratio_with_child_estimate_to_0_should_reach_100
|
||
|
parent = Issue.generate!
|
||
|
issue1 = Issue.generate!(:parent_issue_id => parent.id)
|
||
|
issue2 = Issue.generate!(:parent_issue_id => parent.id, :estimated_hours => 0)
|
||
|
assert_equal 0, parent.reload.done_ratio
|
||
|
issue1.reload.update_attribute :status_id, 5
|
||
|
assert_equal 50, parent.reload.done_ratio
|
||
|
issue2.reload.update_attribute :status_id, 5
|
||
|
assert_equal 100, parent.reload.done_ratio
|
||
|
end
|
||
|
def test_parent_estimate_should_be_sum_of_leaves
|
||
|
parent = Issue.generate!
|
||
|
Issue.generate!(:estimated_hours => nil, :parent_issue_id => parent.id)
|
||
|
-
|
||
| config/locales/no.yml | ||
|---|---|---|
|
label_attribute_of_assigned_to: Assignee's %{name}
|
||
|
label_attribute_of_fixed_version: Target version's %{name}
|
||
|
label_copy_subtasks: Copy subtasks
|
||
|
label_copied_to: copied to
|
||
|
label_copied_from: copied from
|
||
|
label_copied_to: kopiert til
|
||
|
label_copied_from: kopiert fra
|
||
|
label_any_issues_in_project: any issues in project
|
||
|
label_any_issues_not_in_project: any issues not in project
|
||
|
field_private_notes: Private notes
|
||