From: Toshi MARUYAMA Date: Tue, 22 Mar 2011 04:17:58 +0000 (+0000) Subject: scm: cvs: check assign changesets in root directory showing of functional test. X-Git-Tag: 1.2.0~655 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dc63efa5355b2f781e827ba238eece3e59166024;p=redmine.git 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 --- diff --git a/test/functional/repositories_cvs_controller_test.rb b/test/functional/repositories_cvs_controller_test.rb index 3950e47ae..8da64eda6 100644 --- a/test/functional/repositories_cvs_controller_test.rb +++ b/test/functional/repositories_cvs_controller_test.rb @@ -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