Patch #14886 » patch_no.yml-git.diff
| test/unit/issue_nested_set_test.rb | ||
|---|---|---|
| 302 | 302 |
assert_equal (50 * 20 + 20 * 10) / 30, parent.reload.done_ratio |
| 303 | 303 |
end |
| 304 | 304 | |
| 305 |
def test_parent_done_ratio_with_child_estimate_to_0_should_reach_100 |
|
| 306 |
parent = Issue.generate! |
|
| 307 |
issue1 = Issue.generate!(:parent_issue_id => parent.id) |
|
| 308 |
issue2 = Issue.generate!(:parent_issue_id => parent.id, :estimated_hours => 0) |
|
| 309 |
assert_equal 0, parent.reload.done_ratio |
|
| 310 |
issue1.reload.update_attribute :status_id, 5 |
|
| 311 |
assert_equal 50, parent.reload.done_ratio |
|
| 312 |
issue2.reload.update_attribute :status_id, 5 |
|
| 313 |
assert_equal 100, parent.reload.done_ratio |
|
| 314 |
end |
|
| 315 | ||
| 305 | 316 |
def test_parent_estimate_should_be_sum_of_leaves |
| 306 | 317 |
parent = Issue.generate! |
| 307 | 318 |
Issue.generate!(:estimated_hours => nil, :parent_issue_id => parent.id) |
| 308 |
- |
|
| config/locales/no.yml | ||
|---|---|---|
| 1046 | 1046 |
label_attribute_of_assigned_to: Assignee's %{name}
|
| 1047 | 1047 |
label_attribute_of_fixed_version: Target version's %{name}
|
| 1048 | 1048 |
label_copy_subtasks: Copy subtasks |
| 1049 |
label_copied_to: copied to
|
|
| 1050 |
label_copied_from: copied from
|
|
| 1049 |
label_copied_to: kopiert til
|
|
| 1050 |
label_copied_from: kopiert fra
|
|
| 1051 | 1051 |
label_any_issues_in_project: any issues in project |
| 1052 | 1052 |
label_any_issues_not_in_project: any issues not in project |
| 1053 | 1053 |
field_private_notes: Private notes |