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
This commit is contained in:
Eric Davis
2010-10-15 23:11:00 +00:00
parent 06c0e5ad1c
commit 5823a71c18
2 changed files with 2 additions and 25 deletions
@@ -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