summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_cvs_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-10 17:01:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-10 17:01:33 +0000
commit9b60214b3a3e25691400cd3bbf11191429bc3c1c (patch)
tree38c618b12de578d1c616ead006d58a9bc5161f4b /test/unit/repository_cvs_test.rb
parent4d12bea397bc1a79c16ec8000bbb8e5fae323c4b (diff)
downloadredmine-9b60214b3a3e25691400cd3bbf11191429bc3c1c.tar.gz
redmine-9b60214b3a3e25691400cd3bbf11191429bc3c1c.zip
Fixed that Repository#entries returns an Array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9804 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_cvs_test.rb')
-rw-r--r--test/unit/repository_cvs_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb
index 0fc1873c7..b718246b2 100644
--- a/test/unit/repository_cvs_test.rb
+++ b/test/unit/repository_cvs_test.rb
@@ -158,6 +158,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase
@project.reload
assert_equal CHANGESETS_NUM, @repository.changesets.count
entries = @repository.entries('', '3')
+ assert_kind_of Redmine::Scm::Adapters::Entries, entries
assert_equal 3, entries.size
assert_equal entries[2].name, "README"
assert_equal entries[2].lastrev.time, Time.gm(2007, 12, 13, 16, 27, 22)