diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb index 7e4bfd2e2..8dfde6e73 100644 --- a/test/unit/repository_cvs_test.rb +++ b/test/unit/repository_cvs_test.rb @@ -123,6 +123,10 @@ class RepositoryCvsTest < ActiveSupport::TestCase assert_equal 1, lines.length assert_equal 'CVS test repository', lines[0] assert_nil @repository.cat('missing.rb') + + # sources/welcome_controller.rb is removed at revision 5. + assert @repository.cat('sources/welcome_controller.rb', '4') + assert @repository.cat('sources/welcome_controller.rb', '5').blank? end else puts "CVS test repository NOT FOUND. Skipping unit tests !!!"