Ver código fonte

scm: cvs: add invalid path entries test at unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5398 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.2.0
Toshi MARUYAMA 13 anos atrás
pai
commit
d595bed7ef
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7
    0
      test/unit/repository_cvs_test.rb

+ 7
- 0
test/unit/repository_cvs_test.rb Ver arquivo

@@ -102,6 +102,13 @@ class RepositoryCvsTest < ActiveSupport::TestCase
assert_equal entries[2].lastrev.author, 'LANG'
end

def test_entries_invalid
@repository.fetch_changesets
@repository.reload
assert_nil @repository.entries('missing')
assert_nil @repository.entries('missing', '3')
end

def test_cat
@repository.fetch_changesets
@repository.reload

Carregando…
Cancelar
Salvar