@@ -86,10 +86,10 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||
|
86 | 86 | get :entry, :id => 3, :path => ['sources', 'watchers_controller.rb'] |
|
87 | 87 | assert_response :success |
|
88 | 88 | assert_template 'entry' |
|
89 |
# Line 1 |
|
|
89 | # Line 10 | |
|
90 | 90 | assert_tag :tag => 'th', |
|
91 |
:content => |
|
|
92 |
:attributes => { :class => |
|
|
91 | :content => '10', | |
|
92 | :attributes => { :class => 'line-num' }, | |
|
93 | 93 | :sibling => { :tag => 'td', :content => /WITHOUT ANY WARRANTY/ } |
|
94 | 94 | end |
|
95 | 95 | |
@@ -115,7 +115,7 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||
|
115 | 115 | assert_template 'diff' |
|
116 | 116 | # Line 22 removed |
|
117 | 117 | assert_tag :tag => 'th', |
|
118 |
:content => |
|
|
118 | :content => '22', | |
|
119 | 119 | :sibling => { :tag => 'td', |
|
120 | 120 | :attributes => { :class => /diff_out/ }, |
|
121 | 121 | :content => /def remove/ } |
General Comments 0
You need to be logged in to leave comments.
Login now