@@ -157,7 +157,8 class RepositoriesCvsControllerTest < ActionController::TestCase | |||
|
157 | 157 | def test_diff_new_files |
|
158 | 158 | @repository.fetch_changesets |
|
159 | 159 | @repository.reload |
|
160 | get :diff, :id => PRJ_ID, :rev => 1, :type => 'inline' | |
|
160 | ['inline', 'sbs'].each do |dt| | |
|
161 | get :diff, :id => PRJ_ID, :rev => 1, :type => dt | |
|
161 | 162 | assert_response :success |
|
162 | 163 | assert_template 'diff' |
|
163 | 164 | assert_tag :tag => 'td', :attributes => { :class => 'line-code diff_in' }, |
@@ -171,6 +172,7 class RepositoriesCvsControllerTest < ActionController::TestCase | |||
|
171 | 172 | assert_tag :tag => 'th', :attributes => { :class => 'filename' }, |
|
172 | 173 | :content => /test\/sources\/watchers_controller.rb/ |
|
173 | 174 | end |
|
175 | end | |
|
174 | 176 | |
|
175 | 177 | def test_annotate |
|
176 | 178 | @repository.fetch_changesets |
General Comments 0
You need to be logged in to leave comments.
Login now