summaryrefslogtreecommitdiffstats
path: root/test/functional/wiki_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-09-23 13:58:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-09-23 13:58:45 +0000
commit8eb8cdc06d6980e8f7cbae21d22264980a93cd01 (patch)
tree75614c008ecbf81ecc1c59979f5cba551a900cc3 /test/functional/wiki_controller_test.rb
parentb085b2fce1e244aae43a300578f0d002fbf224da (diff)
downloadredmine-8eb8cdc06d6980e8f7cbae21d22264980a93cd01.tar.gz
redmine-8eb8cdc06d6980e8f7cbae21d22264980a93cd01.zip
Remove link to current version, already present in the page breadcrumb (#26575).
git-svn-id: http://svn.redmine.org/redmine/trunk@17510 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/wiki_controller_test.rb')
-rw-r--r--test/functional/wiki_controller_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index 0583882e1..7f658be0b 100644
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -65,7 +65,6 @@ class WikiControllerTest < Redmine::ControllerTest
assert_select 'a[href=?]', '/projects/ecookbook/wiki/CookBook_documentation/1', :text => /Previous/
assert_select 'a[href=?]', '/projects/ecookbook/wiki/CookBook_documentation/2/diff', :text => /diff/
assert_select 'a[href=?]', '/projects/ecookbook/wiki/CookBook_documentation/3', :text => /Next/
- assert_select 'a[href=?]', '/projects/ecookbook/wiki/CookBook_documentation', :text => /Current version/
end
def test_show_old_version_with_attachments
@@ -77,7 +76,6 @@ class WikiControllerTest < Redmine::ControllerTest
get :show, :params => {:project_id => 'ecookbook', :id => page.title, :version => '1'}
assert_response :success
- assert_select 'a[href=?]', '/projects/ecookbook/wiki/Page_with_an_inline_image', :text => /Current version/
end
def test_show_old_version_without_permission_should_be_denied
@@ -96,7 +94,6 @@ class WikiControllerTest < Redmine::ControllerTest
assert_select 'a', :text => /Previous/, :count => 0
assert_select 'a', :text => /diff/, :count => 0
assert_select 'a[href=?]', '/projects/ecookbook/wiki/CookBook_documentation/2', :text => /Next/
- assert_select 'a[href=?]', '/projects/ecookbook/wiki/CookBook_documentation', :text => /Current version/
end
def test_show_redirected_page