Redmine/test/unit/lib/redmine
Eric Davis 4baf32b166 Fixing Plugin and Mailer default_url_options.
Both the plugin hooks and Mailer were setting default_url_options incorrectly
and causing ActionContoller::UrlWritter to cache the settings on the module
(mattr_accessor) causing several url generators to fail in either the plugin
hooks or the Mailer.

* Replaced Mailer's use of the default_url_options accessor with the proper class method
* Replaced Hook's use of the default_url_options accessor with the proper class method on the ViewListener class
* Added a test to reproduce the bugs in the Mailer when a hook is registered (thanks Chaoqun Zou)

  #2542

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-25 07:25:01 +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 Fixing Plugin and Mailer default_url_options. 2009-02-25 07:25:01 +00:00
i18n_test.rb Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2. 2009-02-21 11:04:50 +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