diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-10 17:01:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-10 17:01:33 +0000 |
commit | 9b60214b3a3e25691400cd3bbf11191429bc3c1c (patch) | |
tree | 38c618b12de578d1c616ead006d58a9bc5161f4b /test/unit/repository_mercurial_test.rb | |
parent | 4d12bea397bc1a79c16ec8000bbb8e5fae323c4b (diff) | |
download | redmine-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_mercurial_test.rb')
-rw-r--r-- | test/unit/repository_mercurial_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index 8d6e076d1..f64300748 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -81,6 +81,11 @@ class RepositoryMercurialTest < ActiveSupport::TestCase assert_equal true, klass.scm_available end + def test_entries + entries = @repository.entries + assert_kind_of Redmine::Scm::Adapters::Entries, entries + end + def test_fetch_changesets_from_scratch assert_equal 0, @repository.changesets.count @repository.fetch_changesets |