2010-01-13 20:39:28 +01:00
|
|
|
# Edit at your own peril - it's recommended to regenerate this file
|
|
|
|
|
# in the future when you upgrade to a newer version of Cucumber.
|
|
|
|
|
|
|
|
|
|
# IMPORTANT: Setting config.cache_classes to false is known to
|
|
|
|
|
# break Cucumber's use_transactional_fixtures method.
|
|
|
|
|
# For more information see https://rspec.lighthouseapp.com/projects/16211/tickets/165
|
|
|
|
|
config.cache_classes = true
|
|
|
|
|
|
|
|
|
|
# Log error messages when you accidentally call methods on nil.
|
|
|
|
|
config.whiny_nils = true
|
|
|
|
|
|
|
|
|
|
# Show full error reports and disable caching
|
|
|
|
|
config.action_controller.consider_all_requests_local = true
|
|
|
|
|
config.action_controller.perform_caching = false
|
|
|
|
|
|
|
|
|
|
# Disable request forgery protection in test environment
|
|
|
|
|
config.action_controller.allow_forgery_protection = false
|
|
|
|
|
|
|
|
|
|
# Tell Action Mailer not to deliver emails to the real world.
|
|
|
|
|
# The :test delivery method accumulates sent emails in the
|
|
|
|
|
# ActionMailer::Base.deliveries array.
|
|
|
|
|
config.action_mailer.delivery_method = :test
|
|
|
|
|
|
2011-02-04 20:21:08 +01:00
|
|
|
# Unique cookies and use cookies for session
|
|
|
|
|
config.action_controller.session_store = :cookie_store
|
2012-01-27 11:23:36 +01:00
|
|
|
config.action_controller.session = { :key => 'TracksCucumber', :secret => SITE_CONFIG['salt'] * (30.0 / SITE_CONFIG['salt'].length).ceil }
|