2010-02-02 22:52:32 +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
|
|
|
|
|
|
2010-07-27 23:32:22 +02:00
|
|
|
# Unique cookies
|
|
|
|
|
config.action_controller.session = { :key => 'TracksSelenium' }
|
|
|
|
|
|
|
|
|
|
config.gem 'cucumber-rails', :lib => false, :version => '>=0.3.2' unless File.directory?(File.join(Rails.root, 'vendor/plugins/cucumber-rails'))
|
|
|
|
|
config.gem 'database_cleaner', :lib => false, :version => '>=0.5.0' unless File.directory?(File.join(Rails.root, 'vendor/plugins/database_cleaner'))
|
|
|
|
|
config.gem 'webrat', :lib => false, :version => '>=0.7.0' unless File.directory?(File.join(Rails.root, 'vendor/plugins/webrat'))
|
|
|
|
|
config.gem 'rspec', :lib => false, :version => '>=1.3.0' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec'))
|
2010-11-08 17:29:57 +01:00
|
|
|
config.gem 'rspec-rails', :lib => false, :version => '>=1.3.2' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails'))
|
2010-11-08 17:26:30 +01:00
|
|
|
config.gem 'selenium-client', :lib => false unless File.directory?(File.join(Rails.root, 'vendor/plugins/selenium-client'))
|
2010-11-08 17:29:57 +01:00
|
|
|
config.gem 'mongrel' # required by webrat for selenium
|