@@ -132,10 +132,23 class RepositoriesBazaarControllerTest < ActionController::TestCase | |||
|
132 | 132 | get :annotate, :id => PRJ_ID, :path => ['doc-mkdir.txt'] |
|
133 | 133 | assert_response :success |
|
134 | 134 | assert_template 'annotate' |
|
135 | # Line 2, revision 3 | |
|
136 | assert_tag :tag => 'th', :content => /2/, | |
|
137 | :sibling => { :tag => 'td', :child => { :tag => 'a', :content => /3/ } }, | |
|
138 | :sibling => { :tag => 'td', :content => /jsmith/ }, | |
|
135 | assert_tag :tag => 'th', :content => '2', | |
|
136 | :sibling => { | |
|
137 | :tag => 'td', | |
|
138 | :child => { | |
|
139 | :tag => 'a', | |
|
140 | :content => /3/ | |
|
141 | } | |
|
142 | }, | |
|
143 | :sibling => { :tag => 'td', :content => /jsmith/ } | |
|
144 | assert_tag :tag => 'th', :content => '2', | |
|
145 | :sibling => { | |
|
146 | :tag => 'td', | |
|
147 | :child => { | |
|
148 | :tag => 'a', | |
|
149 | :content => /3/ | |
|
150 | } | |
|
151 | }, | |
|
139 | 152 | :sibling => { :tag => 'td', :content => /Main purpose/ } |
|
140 | 153 | end |
|
141 | 154 | else |
General Comments 0
You need to be logged in to leave comments.
Login now