]> source.dussan.org Git - redmine.git/commitdiff
scm: cvs: check assign changesets in root directory showing of functional test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Mar 2011 04:17:58 +0000 (04:17 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Mar 2011 04:17:58 +0000 (04:17 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5189 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/repositories_cvs_controller_test.rb

index 3950e47ae4c41a36cc186670bc5ff6157fcbb5b2..8da64eda6e76357a6f90da7df34d87d26de02654 100644 (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