scm: cvs: check assign changesets in root directory showing of functional test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5189 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-03-22 04:17:58 +00:00
parent bda4f7b6ee
commit dc63efa535
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ class RepositoriesCvsControllerTest < ActionController::TestCase
entry = assigns(:entries).detect {|e| e.name == 'README'}
assert_equal 'file', entry.kind
assert_not_nil assigns(:changesets)
assigns(:changesets).size > 0
end
def test_browse_directory