Use the regular issue form to copy a single issue.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8552 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-01-08 11:16:54 +00:00
parent f134eeef45
commit 121bc44cc5
9 changed files with 74 additions and 14 deletions
+1
View File
@@ -388,6 +388,7 @@ class IssueTest < ActiveSupport::TestCase
def test_copy
issue = Issue.new.copy_from(1)
assert issue.copy?
assert issue.save
issue.reload
orig = Issue.find(1)