##// END OF EJS Templates
scm: bazaar: run both of "inline" and "side by side" diff in functional test_diff test....
Toshi MARUYAMA -
r5859:958612451bfc
parent child
Show More
@@ -110,16 +110,18 class RepositoriesBazaarControllerTest < ActionController::TestCase
110 110
111 111 def test_diff
112 112 # Full diff of changeset 3
113 get :diff, :id => PRJ_ID, :rev => 3
113 ['inline', 'sbs'].each do |dt|
114 get :diff, :id => PRJ_ID, :rev => 3, :type => dt
114 115 assert_response :success
115 116 assert_template 'diff'
116 117 # Line 11 removed
117 118 assert_tag :tag => 'th',
118 :content => /11/,
119 :content => '11',
119 120 :sibling => { :tag => 'td',
120 121 :attributes => { :class => /diff_out/ },
121 122 :content => /Display more information/ }
122 123 end
124 end
123 125
124 126 def test_annotate
125 127 get :annotate, :id => PRJ_ID, :path => ['doc-mkdir.txt']
General Comments 0
You need to be logged in to leave comments. Login now