##// END OF EJS Templates
scm: git: run both "inline" and "side by side" diff in functional test_diff test....
Toshi MARUYAMA -
r5852:ab75fb1c8289
parent child
Show More
@@ -192,7 +192,11 class RepositoriesGitControllerTest < ActionController::TestCase
192 192 @repository.fetch_changesets
193 193 @repository.reload
194 194 # Full diff of changeset 2f9c0091
195 get :diff, :id => PRJ_ID, :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7'
195 ['inline', 'sbs'].each do |dt|
196 get :diff,
197 :id => PRJ_ID,
198 :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7',
199 :type => dt
196 200 assert_response :success
197 201 assert_template 'diff'
198 202 # Line 22 removed
@@ -203,6 +207,7 class RepositoriesGitControllerTest < ActionController::TestCase
203 207 :content => /def remove/ }
204 208 assert_tag :tag => 'h2', :content => /2f9c0091/
205 209 end
210 end
206 211
207 212 def test_diff_two_revs
208 213 @repository.fetch_changesets
General Comments 0
You need to be logged in to leave comments. Login now