comparison test/functional/repositories_cvs_controller_test.rb @ 38:33d69fee1d99 cannam

* Merge SVN update from default branch
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:41:40 +0000
parents 94944d00e43c
children af80e5618e9b
comparison
equal deleted inserted replaced
29:192d132064a5 38:33d69fee1d99
104 :content => /before_filter/ 104 :content => /before_filter/
105 end 105 end
106 106
107 def test_entry_not_found 107 def test_entry_not_found
108 get :entry, :id => 1, :path => ['sources', 'zzz.c'] 108 get :entry, :id => 1, :path => ['sources', 'zzz.c']
109 assert_tag :tag => 'div', :attributes => { :class => /error/ }, 109 assert_tag :tag => 'p', :attributes => { :id => /errorExplanation/ },
110 :content => /The entry or revision was not found in the repository/ 110 :content => /The entry or revision was not found in the repository/
111 end 111 end
112 112
113 def test_entry_download 113 def test_entry_download
114 get :entry, :id => 1, :path => ['sources', 'watchers_controller.rb'], :format => 'raw' 114 get :entry, :id => 1, :path => ['sources', 'watchers_controller.rb'], :format => 'raw'