##// END OF EJS Templates
add missing fixtures to CalendarsControllerTest...
add missing fixtures to CalendarsControllerTest Tests fail randomly. <pre> 1) Error: CalendarsControllerTest#test_cross_project_calendar: ActionView::Template::Error: undefined method `name' for nil:NilClass app/helpers/issues_helper.rb:57:in `render_issue_tooltip' app/views/common/_calendar.html.erb:17:in `block in _app_views_common__calendar_html_erb__4084073314711523042_57686480' app/views/common/_calendar.html.erb:12:in `each' app/views/common/_calendar.html.erb:12:in `_app_views_common__calendar_html_erb__4084073314711523042_57686480' app/views/calendars/show.html.erb:30:in `_app_views_calendars_show_html_erb___1639405444546230501_53808060' test/functional/calendars_controller_test.rb:44:in `test_cross_project_calendar' </pre> git-svn-id: http://svn.redmine.org/redmine/trunk@13503 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13100:2d1866d966d9
r13121:b63123ac1e52
Show More
30-redmine.rb
24 lines | 761 B | text/x-ruby | RubyLexer
I18n.default_locale = 'en'
I18n.backend = Redmine::I18n::Backend.new
# Forces I18n to load available locales from the backend
I18n.config.available_locales = nil
require 'redmine'
# Load the secret token from the Redmine configuration file
secret = Redmine::Configuration['secret_token']
if secret.present?
RedmineApp::Application.config.secret_token = secret
end
if Object.const_defined?(:OpenIdAuthentication)
openid_authentication_store = Redmine::Configuration['openid_authentication_store']
OpenIdAuthentication.store =
openid_authentication_store.present? ?
openid_authentication_store : :memory
end
Redmine::Plugin.load
unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false
Redmine::Plugin.mirror_assets
end