summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_subtasking_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-11-08 14:22:06 +0000
committerGo MAEDA <maeda@farend.jp>2021-11-08 14:22:06 +0000
commit578e367c8c95aaf0ae14ecee038a28c5294c16ac (patch)
tree117008563ac20f34a0a4eaa74d6c8991ea6668e3 /test/unit/issue_subtasking_test.rb
parent68fce8e97d1634f9c975dd4fabbd746a8dcd02c0 (diff)
downloadredmine-578e367c8c95aaf0ae14ecee038a28c5294c16ac.tar.gz
redmine-578e367c8c95aaf0ae14ecee038a28c5294c16ac.zip
Allow addition/removal of subtasks to show in parent's history (#6033).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21273 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_subtasking_test.rb')
-rw-r--r--test/unit/issue_subtasking_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/issue_subtasking_test.rb b/test/unit/issue_subtasking_test.rb
index 04f8aa301..fadbd21fa 100644
--- a/test/unit/issue_subtasking_test.rb
+++ b/test/unit/issue_subtasking_test.rb
@@ -277,6 +277,7 @@ class IssueSubtaskingTest < ActiveSupport::TestCase
with_settings :issue_done_ratio => 'issue_status' do
status = IssueStatus.find(4)
status.update_attribute :default_done_ratio, 50
+ child1.reload
child1.update_attribute :status, status
assert_equal 50, child1.done_ratio