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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user