Mercurial > hg > soundsoftware-site
comparison test/functional/.svn/text-base/repositories_cvs_controller_test.rb.svn-base @ 37:94944d00e43c
* Update to SVN trunk rev 4411
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 19 Nov 2010 13:24:41 +0000 |
parents | 513646585e45 |
children | af80e5618e9b |
comparison
equal
deleted
inserted
replaced
22:40f7cfd4df19 | 37:94944d00e43c |
---|---|
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' |