@@ -143,7 +143,8 class RepositoriesCvsControllerTest < ActionController::TestCase | |||
|
143 | 143 | def test_diff |
|
144 | 144 | @repository.fetch_changesets |
|
145 | 145 | @repository.reload |
|
146 | get :diff, :id => PRJ_ID, :rev => 3, :type => 'inline' | |
|
146 | ['inline', 'sbs'].each do |dt| | |
|
147 | get :diff, :id => PRJ_ID, :rev => 3, :type => dt | |
|
147 | 148 | assert_response :success |
|
148 | 149 | assert_template 'diff' |
|
149 | 150 | assert_tag :tag => 'td', :attributes => { :class => 'line-code diff_out' }, |
@@ -151,6 +152,7 class RepositoriesCvsControllerTest < ActionController::TestCase | |||
|
151 | 152 | assert_tag :tag => 'td', :attributes => { :class => 'line-code diff_in' }, |
|
152 | 153 | :content => /with one change/ |
|
153 | 154 | end |
|
155 | end | |
|
154 | 156 | |
|
155 | 157 | def test_diff_new_files |
|
156 | 158 | @repository.fetch_changesets |
General Comments 0
You need to be logged in to leave comments.
Login now