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:
Jean-Philippe Lang
2012-06-10 17:01:33 +00:00
parent 4d12bea397
commit 9b60214b3a
8 changed files with 29 additions and 2 deletions
+5
View File
@@ -56,6 +56,11 @@ class RepositorySubversionTest < ActiveSupport::TestCase
assert_equal NUM_REV, @repository.changesets.count
end
def test_entries
entries = @repository.entries
assert_kind_of Redmine::Scm::Adapters::Entries, entries
end
def test_latest_changesets
assert_equal 0, @repository.changesets.count
@repository.fetch_changesets