@repository.reload
[2, '400bb8672109', '400', 400].each do |r1|
[4, 'def6d2f1254a'].each do |r2|
- get :diff, :id => PRJ_ID, :rev => r1,
- :rev_to => r2
- assert_response :success
- assert_template 'diff'
-
- diff = assigns(:diff)
- assert_not_nil diff
- assert_tag :tag => 'h2', :content => /4:def6d2f1254a 2:400bb8672109/
+ ['inline', 'sbs'].each do |dt|
+ get :diff,
+ :id => PRJ_ID,
+ :rev => r1,
+ :rev_to => r2,
+ :type => dt
+ assert_response :success
+ assert_template 'diff'
+ diff = assigns(:diff)
+ assert_not_nil diff
+ assert_tag :tag => 'h2',
+ :content => /4:def6d2f1254a 2:400bb8672109/
+ end
end
end
end