diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-15 10:37:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-15 10:37:21 +0000 |
commit | 31f2e848b56b8ed260128ba0d9fc245b06800e09 (patch) | |
tree | ad2ff874a32eae89347f0fabb64b141dc2abb31b /test/unit | |
parent | a6f651137250cf6802462918ebb08f865655c6f7 (diff) | |
download | redmine-31f2e848b56b8ed260128ba0d9fc245b06800e09.tar.gz redmine-31f2e848b56b8ed260128ba0d9fc245b06800e09.zip |
Do not change settings in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8226 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/issue_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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' |