Fixed that Repository#entries returns an Array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9804 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user