scm: mercurial: fix comment and change // to '' some strings of functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4631 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e86b8febdc
commit
0f8680adfd
|
@ -86,10 +86,10 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
|
||||||
get :entry, :id => 3, :path => ['sources', 'watchers_controller.rb']
|
get :entry, :id => 3, :path => ['sources', 'watchers_controller.rb']
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_template 'entry'
|
assert_template 'entry'
|
||||||
# Line 19
|
# Line 10
|
||||||
assert_tag :tag => 'th',
|
assert_tag :tag => 'th',
|
||||||
:content => /10/,
|
:content => '10',
|
||||||
:attributes => { :class => /line-num/ },
|
:attributes => { :class => 'line-num' },
|
||||||
:sibling => { :tag => 'td', :content => /WITHOUT ANY WARRANTY/ }
|
:sibling => { :tag => 'td', :content => /WITHOUT ANY WARRANTY/ }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
|
||||||
assert_template 'diff'
|
assert_template 'diff'
|
||||||
# Line 22 removed
|
# Line 22 removed
|
||||||
assert_tag :tag => 'th',
|
assert_tag :tag => 'th',
|
||||||
:content => /22/,
|
:content => '22',
|
||||||
:sibling => { :tag => 'td',
|
:sibling => { :tag => 'td',
|
||||||
:attributes => { :class => /diff_out/ },
|
:attributes => { :class => /diff_out/ },
|
||||||
:content => /def remove/ }
|
:content => /def remove/ }
|
||||||
|
|
Loading…
Reference in New Issue