summaryrefslogtreecommitdiffstats
path: root/test/functional/wiki_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-06-17 09:03:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-06-17 09:03:57 +0000
commitf57cacb28406c1c265df57311baf5acb142517cd (patch)
treee47214956e2496825fb5ce4704154d2b3f3fb357 /test/functional/wiki_controller_test.rb
parente53660b7177c94aa97030f0f64fe701acb496dc3 (diff)
downloadredmine-f57cacb28406c1c265df57311baf5acb142517cd.tar.gz
redmine-f57cacb28406c1c265df57311baf5acb142517cd.zip
Don't repeat revision on each line.
git-svn-id: http://svn.redmine.org/redmine/trunk@17398 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/wiki_controller_test.rb')
-rw-r--r--test/functional/wiki_controller_test.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index 193efb0b7..c0a169d7b 100644
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -702,11 +702,10 @@ class WikiControllerTest < Redmine::ControllerTest
assert_select 'td', :text => /h1\. CookBook documentation v2/
end
- # Line 4
- assert_select 'table.annotate tr:nth-child(4)' do
- assert_select 'th.line-num', :text => '4'
+ # Line 2
+ assert_select 'table.annotate tr:nth-child(2)' do
+ assert_select 'th.line-num', :text => '2'
assert_select 'td.author', :text => /John Smith/
- assert_select 'td', :text => /Line from v1/
end
# Line 5