comparison test/functional/repositories_subversion_controller_test.rb @ 51:371eac10df0b live

* Merge from "cannam" branch. This includes update to Redmine trunk, plus welcome/tip-of-the-day from luisf branch.
author Chris Cannam
date Wed, 24 Nov 2010 12:20:08 +0000
parents 94944d00e43c
children af80e5618e9b
comparison
equal deleted inserted replaced
34:09b1d4349da3 51:371eac10df0b
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'