Skip to content

Instantly share code, notes, and snippets.

@leehambley
Created April 30, 2009 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leehambley/104711 to your computer and use it in GitHub Desktop.
Save leehambley/104711 to your computer and use it in GitHub Desktop.
# Settings specified here will take precedence over those in config/environment.rb
# 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
# 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
# Define the gems required to run the testing environment, these
# differ from the gems listed in /config/environment.rb as they
# are application, not testing dependencies
config.gem "diabolo-webrat", :version => '>= 0.4.4', :lib => 'webrat', :source => 'http://gems.github.com/'
config.gem "cucumber", :version => '0.3.3', :source => 'http://gems.github.com/'
config.gem "nokogiri", :version => '>= 1.2.3', :source => 'http://gems.github.com/'
config.gem 'rspec', :version => '>= 1.2.4', :lib => 'spec', :source => 'http://gems.github.com/'
config.gem "rspec-rails", :version => '>= 1.2.4', :lib => 'spec/rails', :source => 'http://gems.github.com/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment