Adds functional test for project copy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5355 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -683,6 +683,7 @@ class Project < ActiveRecord::Base
|
||||
end
|
||||
|
||||
# Copies issues from +project+
|
||||
# Note: issues assigned to a closed version won't be copied due to validation rules
|
||||
def copy_issues(project)
|
||||
# Stores the source issue id as a key and the copied issues as the
|
||||
# value. Used to map the two togeather for issue relations.
|
||||
|
||||
Reference in New Issue
Block a user