Redmine/test/unit/lib/redmine
Eric Davis 5b7a5c39a7 Added request and controller objects to the hooks by default.
The request and controller objects are now added to all hook contexts by
default.  This will also make url_for work better in hooks by setting up
the default_url_options :host, :port, and :protocol.

Finally a new helper method @render_or@ has been added to ViewListener.  This
will let a hook easily render a partial without a full method definition.

Thanks to Thomas Löber for the original patch.  #2542

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-10 03:12:40 +00:00
..
wiki_formatting Converted routing and urls to follow the Rails REST convention. 2009-01-26 01:47:51 +00:00
access_control_test.rb Fixed: cross-project issue list should not show issues of projects for which the issue tracking module was disabled. 2008-09-25 18:51:03 +00:00
hook_test.rb Added request and controller objects to the hooks by default. 2009-02-10 03:12:40 +00:00
plugin_test.rb Adds Plugin#requires_redmine method so that plugin compatibility can be checked against current Redmine version (#2162). 2008-11-16 20:00:20 +00:00
unified_diff_test.rb Adds a setting to limit the number of diff lines that should be displayed (default to 1500). 2008-12-07 15:21:40 +00:00