diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 524fb45b1..e23b52d11 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -962,6 +962,10 @@ class IssueTest < ActiveSupport::TestCase @issue_status2.update_attribute(:default_done_ratio, 0) end + teardown do + Setting.issue_done_ratio = 'issue_field' + end + context "with Setting.issue_done_ratio using the issue_field" do setup do Setting.issue_done_ratio = 'issue_field'