@@ -250,7 +250,7 class WikiControllerTest < ActionController::TestCase | |||||
250 | get :annotate, :project_id => 1, :id => 'CookBook_documentation', :version => 2 |
|
250 | get :annotate, :project_id => 1, :id => 'CookBook_documentation', :version => 2 | |
251 | assert_response :success |
|
251 | assert_response :success | |
252 | assert_template 'annotate' |
|
252 | assert_template 'annotate' | |
253 |
|
253 | |||
254 | # Line 1 |
|
254 | # Line 1 | |
255 | assert_tag :tag => 'tr', :child => { |
|
255 | assert_tag :tag => 'tr', :child => { | |
256 | :tag => 'th', :attributes => {:class => 'line-num'}, :content => '1', :sibling => { |
|
256 | :tag => 'th', :attributes => {:class => 'line-num'}, :content => '1', :sibling => { | |
@@ -259,7 +259,7 class WikiControllerTest < ActionController::TestCase | |||||
259 | } |
|
259 | } | |
260 | } |
|
260 | } | |
261 | } |
|
261 | } | |
262 |
|
262 | |||
263 | # Line 5 |
|
263 | # Line 5 | |
264 | assert_tag :tag => 'tr', :child => { |
|
264 | assert_tag :tag => 'tr', :child => { | |
265 | :tag => 'th', :attributes => {:class => 'line-num'}, :content => '5', :sibling => { |
|
265 | :tag => 'th', :attributes => {:class => 'line-num'}, :content => '5', :sibling => { |
General Comments 0
You need to be logged in to leave comments.
Login now