##// END OF EJS Templates
Don't remove watchers on permission change....
Don't remove watchers on permission change. This can be far too slow (especially with membership inheritance) and notifications are not sent to watchers that are not allowed to view the item. If we still want to remove watchers that are no longer able to view the watched items, the redmine:watchers:prune task can be called periodically. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11300 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9477:678469cf092b
r11070:5fea79504c74
Show More
test.rb
30 lines | 1.2 KiB | text/x-ruby | RubyLexer
Toshi MARUYAMA
replace comment "config/environment.rb" to "config/application.rb" at head of config/environments/*.rb...
r9475 # Settings specified here will take precedence over those in config/application.rb
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 RedmineApp::Application.configure do
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suite and is wiped
# and recreated between test runs. Don't rely on the data there!
config.cache_classes = true
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 # Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 # Show full error reports and disable caching
#config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching = false
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 config.action_mailer.perform_deliveries = true
Toshi MARUYAMA
additional comment at config/environments/test.rb...
r9477
# Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 config.action_mailer.delivery_method = :test
Jean-Philippe Lang
Initial commit...
r2
Toshi MARUYAMA
additional comment at config/environments/test.rb...
r9477 # Skip protect_from_forgery in requests
# http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 config.action_controller.allow_forgery_protection = false
Jean-Philippe Lang
Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2....
r2430
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 config.active_support.deprecation = :log
Eric Davis
Setup shoulda for testing. (#4005)...
r2811
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 config.secret_token = 'a secret token for running the tests'
end