Do not change settings in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8226 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a6f6511372
commit
31f2e848b5
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue