summaryrefslogtreecommitdiffstats
path: root/test/unit/project_copy_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 10:51:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 10:51:22 +0000
commite26ab0d4a251cc8fcd476a6140bccfcd24a9c446 (patch)
treeff241ea8d3fa68a09572ce776484d23274c002e8 /test/unit/project_copy_test.rb
parentc5c335924b8e8b3f5f8a631f918d07416536c9fd (diff)
downloadredmine-e26ab0d4a251cc8fcd476a6140bccfcd24a9c446.tar.gz
redmine-e26ab0d4a251cc8fcd476a6140bccfcd24a9c446.zip
Show recent documents first (#29725).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17972 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_copy_test.rb')
-rw-r--r--test/unit/project_copy_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/project_copy_test.rb b/test/unit/project_copy_test.rb
index 371de906c..318251c39 100644
--- a/test/unit/project_copy_test.rb
+++ b/test/unit/project_copy_test.rb
@@ -371,7 +371,7 @@ class ProjectCopyTest < ActiveSupport::TestCase
source_project = Project.find(1)
assert @project.copy(source_project)
- assert_equal 2, @project.documents.size
+ assert_equal 3, @project.documents.size
@project.documents.each do |document|
assert !source_project.documents.include?(document)
end