Redmine/test
Eric Davis d771fa9289 Change link_to_if_authorized to allow url paths. (Fixes #6195)
Both url paths (/issues/1234) and params hashes (:controller => 'issues')
are now supported by link_to_if_authorized.  The authorize_for method
requires a controller/action pair so urls need to be parsed against the
routes to find their controller/action.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-06 00:26:08 +00:00
..
exemplars Fix the mock_file test helper. 2010-08-19 22:24:42 +00:00
fixtures Treat Calendar and Gantt pages as separate modules. #6153 2010-08-22 18:42:00 +00:00
functional Allow mass status update through context menu. #3411 2010-09-03 19:54:24 +00:00
integration Refactor: move method, ProjectsController#reset_activities to ProjectEnumerationsController#destroy. 2010-09-03 15:04:03 +00:00
mocks Adding OpenID mock and test. #699 2009-02-11 19:07:18 +00:00
unit Change link_to_if_authorized to allow url paths. (Fixes #6195) 2010-09-06 00:26:08 +00:00
helper_testcase.rb Upgraded to Rails 2.3.4 (#3597) 2009-09-13 17:14:35 +00:00
object_daddy_helpers.rb Updated object_daddy to a newer version (bugfixes) 2010-02-08 18:53:12 +00:00
test_helper.rb Fix the mock_file test helper. 2010-08-19 22:24:42 +00:00