]> source.dussan.org Git - redmine.git/commitdiff
scm: bazaar: add asserting entries root path at unit model test
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 16 Sep 2012 14:14:52 +0000 (14:14 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 16 Sep 2012 14:14:52 +0000 (14:14 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10398 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_bazaar_test.rb

index 4c3982ac3885ba31043aaca4e264b3eb115493c8..a84b90c1f71217fefa2904ca0ce67f0f72b077ee 100644 (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