summaryrefslogtreecommitdiffstats
path: root/test/unit/helpers
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-15 23:11:00 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-15 23:11:00 +0000
commit5823a71c1851a331a8a28c1255809efe4386fe0d (patch)
tree1a1029a59323913ad4459c73f21965c1041acf91 /test/unit/helpers
parent06c0e5ad1c4450013456b45f0af21de35fa894aa (diff)
downloadredmine-5823a71c1851a331a8a28c1255809efe4386fe0d.tar.gz
redmine-5823a71c1851a331a8a28c1255809efe4386fe0d.zip
Revert part of r4064.
Having link_to_if_authorized support urls has too many edge cases and isn't working with sub-uris. #6195 #6513 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4257 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers')
-rw-r--r--test/unit/helpers/application_helper_test.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb
index 2906ec6e4..d44bc0045 100644
--- a/test/unit/helpers/application_helper_test.rb
+++ b/test/unit/helpers/application_helper_test.rb
@@ -49,15 +49,6 @@ class ApplicationHelperTest < ActionView::TestCase
assert_match /href/, response
end
- should "allow using the url for the target link" do
- User.current = User.find_by_login('admin')
-
- @project = Issue.first.project # Used by helper
- response = link_to_if_authorized("By url",
- new_issue_move_path(:id => Issue.first.id))
- assert_match /href/, response
- end
-
end
def test_auto_links