From 9b60214b3a3e25691400cd3bbf11191429bc3c1c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 10 Jun 2012 17:01:33 +0000 Subject: Fixed that Repository#entries returns an Array. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9804 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_darcs_test.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/unit/repository_darcs_test.rb') diff --git a/test/unit/repository_darcs_test.rb b/test/unit/repository_darcs_test.rb index 9923e0cbd..53c91abb3 100644 --- a/test/unit/repository_darcs_test.rb +++ b/test/unit/repository_darcs_test.rb @@ -88,6 +88,11 @@ class RepositoryDarcsTest < 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_entries_invalid_revision assert_equal 0, @repository.changesets.count @repository.fetch_changesets -- cgit v1.2.3