diff --git a/test/functional/repositories_bazaar_controller_test.rb b/test/functional/repositories_bazaar_controller_test.rb index 9b50e8999..fb9438c05 100644 --- a/test/functional/repositories_bazaar_controller_test.rb +++ b/test/functional/repositories_bazaar_controller_test.rb @@ -110,15 +110,17 @@ class RepositoriesBazaarControllerTest < ActionController::TestCase def test_diff # Full diff of changeset 3 - get :diff, :id => PRJ_ID, :rev => 3 - assert_response :success - assert_template 'diff' - # Line 11 removed - assert_tag :tag => 'th', - :content => /11/, - :sibling => { :tag => 'td', - :attributes => { :class => /diff_out/ }, - :content => /Display more information/ } + ['inline', 'sbs'].each do |dt| + get :diff, :id => PRJ_ID, :rev => 3, :type => dt + assert_response :success + assert_template 'diff' + # Line 11 removed + assert_tag :tag => 'th', + :content => '11', + :sibling => { :tag => 'td', + :attributes => { :class => /diff_out/ }, + :content => /Display more information/ } + end end def test_annotate