From f57cacb28406c1c265df57311baf5acb142517cd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 17 Jun 2018 09:03:57 +0000 Subject: Don't repeat revision on each line. git-svn-id: http://svn.redmine.org/redmine/trunk@17398 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/wiki_controller_test.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/functional/wiki_controller_test.rb') 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 -- cgit v1.2.3