Redmine/test
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
..
fixtures Adds ability to filter watched issues (#846). 2009-02-12 17:35:57 +00:00
functional Limit the size of repository files displayed inline too. 2009-02-21 16:04:51 +00:00
integration Moves project menu tests to a dedicated integration test. 2009-02-21 12:28:19 +00:00
mocks Adding OpenID mock and test. #699 2009-02-11 19:07:18 +00:00
unit Fixing Plugin and Mailer default_url_options. 2009-02-25 07:25:01 +00:00
helper_testcase.rb Added Redmine::WikiFormatting module and tests for wiki links. 2007-09-02 20:41:47 +00:00
test_helper.rb Limit the size of repository files displayed inline too. 2009-02-21 16:04:51 +00:00