scm: bazaar: add asserting entries root path at unit model test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10398 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-09-16 14:14:52 +00:00
parent a81da3491e
commit 53e2eb1867
1 changed files with 2 additions and 0 deletions

View File

@ -93,9 +93,11 @@ class RepositoryBazaarTest < ActiveSupport::TestCase
assert_equal 'dir', entries[0].kind
assert_equal 'directory', entries[0].name
assert_equal 'directory', entries[0].path
assert_equal 'file', entries[1].kind
assert_equal 'doc-mkdir.txt', entries[1].name
assert_equal 'doc-mkdir.txt', entries[1].path
end
def test_entries_in_subdirectory