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