##// END OF EJS Templates
add missing fixtures to test/functional/wiki_controller_test.rb...
add missing fixtures to test/functional/wiki_controller_test.rb Tests fail randomly. <pre> 1) Error: WikiControllerTest#test_show_with_sidebar: ActionView::Template::Error: undefined method `name' for nil:NilClass app/helpers/application_helper.rb:797:in `block in parse_redmine_links' app/helpers/application_helper.rb:757:in `gsub!' app/helpers/application_helper.rb:757:in `parse_redmine_links' app/helpers/application_helper.rb:601:in `block (2 levels) in textilizable' app/helpers/application_helper.rb:600:in `each' app/helpers/application_helper.rb:600:in `block in textilizable' app/helpers/application_helper.rb:621:in `parse_non_pre_blocks' app/helpers/application_helper.rb:599:in `textilizable' app/views/wiki/_content.html.erb:2:in `_app_views_wiki__content_html_erb___3773333740575742579_33736820' app/views/wiki/show.html.erb:44:in `_app_views_wiki_show_html_erb__965327089377623997_33504680' app/controllers/wiki_controller.rb:97:in `show' test/functional/wiki_controller_test.rb:119:in `test_show_with_sidebar' </pre> It can be reproduced by following change. <pre> class WikiControllerTest < ActionController::TestCase fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, :wikis, :wiki_pages, :wiki_contents, - :wiki_content_versions, :attachments + :wiki_content_versions, :attachments, + :issues #, :issue_statuses </pre> git-svn-id: http://svn.redmine.org/redmine/trunk@13590 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13100:2d1866d966d9
r13208:f2ddfcda9aec
Show More
production.rb
25 lines | 879 B | text/x-ruby | RubyLexer
Jean-Philippe Lang
Merged rails-4.1 branch (#14534)....
r13100 Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests.
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 config.cache_classes = true
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Merged rails-4.1 branch (#14534)....
r13100 # Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web servers
# and those relying on copy on write to perform better.
# Rake tasks automatically ignore this option for performance.
config.eager_load = true
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Merged rails-4.1 branch (#14534)....
r13100 # Full error reports are disabled and caching is turned on.
config.consider_all_requests_local = false
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 config.action_controller.perform_caching = true
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Merged rails-4.1 branch (#14534)....
r13100 # Disable delivery errors
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 config.action_mailer.raise_delivery_errors = false
Jean-Philippe Lang
Native eol property set on config/*...
r761
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 # No email in production log
config.action_mailer.logger = nil
Jean-Philippe Lang
Account information can now be sent to the user when creating an account....
r543
Jean-Philippe Lang
Merged rails-4.1 branch (#14534)....
r13100 # Print deprecation notices to the Rails logger.
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 config.active_support.deprecation = :log
end