Mercurial > hg > soundsoftware-site
comparison test/functional/.svn/text-base/repositories_subversion_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 |
---|---|
127 :content => /Here's the code/ | 127 :content => /Here's the code/ |
128 end | 128 end |
129 | 129 |
130 def test_entry_not_found | 130 def test_entry_not_found |
131 get :entry, :id => 1, :path => ['subversion_test', 'zzz.c'] | 131 get :entry, :id => 1, :path => ['subversion_test', 'zzz.c'] |
132 assert_tag :tag => 'div', :attributes => { :class => /error/ }, | 132 assert_tag :tag => 'p', :attributes => { :id => /errorExplanation/ }, |
133 :content => /The entry or revision was not found in the repository/ | 133 :content => /The entry or revision was not found in the repository/ |
134 end | 134 end |
135 | 135 |
136 def test_entry_download | 136 def test_entry_download |
137 get :entry, :id => 1, :path => ['subversion_test', 'helloworld.c'], :format => 'raw' | 137 get :entry, :id => 1, :path => ['subversion_test', 'helloworld.c'], :format => 'raw' |