@@ -116,12 +116,12 class RepositoriesBazaarControllerTest < ActionController::TestCase | |||||
116 | get :diff, :id => 3, :rev => 3 |
|
116 | get :diff, :id => 3, :rev => 3 | |
117 | assert_response :success |
|
117 | assert_response :success | |
118 | assert_template 'diff' |
|
118 | assert_template 'diff' | |
119 |
# Line |
|
119 | # Line 11 removed | |
120 | assert_tag :tag => 'th', |
|
120 | assert_tag :tag => 'th', | |
121 |
:content => / |
|
121 | :content => /11/, | |
122 | :sibling => { :tag => 'td', |
|
122 | :sibling => { :tag => 'td', | |
123 |
:attributes => { :class => /diff_ |
|
123 | :attributes => { :class => /diff_out/ }, | |
124 |
:content => / |
|
124 | :content => /Display more information/ } | |
125 | end |
|
125 | end | |
126 |
|
126 | |||
127 | def test_annotate |
|
127 | def test_annotate |
General Comments 0
You need to be logged in to leave comments.
Login now