Adds version status to limit issue assignments (#1245).
Available version statuses are: * open: no restriction * locked: can not assign new issues to the version * closed: can not assign new issues and can not reopen assigned issues git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3020 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -26,6 +26,7 @@ class VersionTest < ActiveSupport::TestCase
|
||||
def test_create
|
||||
v = Version.new(:project => Project.find(1), :name => '1.1', :effective_date => '2011-03-25')
|
||||
assert v.save
|
||||
assert_equal 'open', v.status
|
||||
end
|
||||
|
||||
def test_invalid_effective_date_validation
|
||||
|
||||
Reference in New Issue
Block a user