summaryrefslogtreecommitdiff
path: root/config/environments/test.rb
diff options
context:
space:
mode:
authorhukl <hukl@eight.local>2009-01-29 20:41:18 +0100
committerhukl <hukl@eight.local>2009-01-29 20:41:18 +0100
commitb298d3e8eeb10903bd4640dab7c11d0dc1be9d38 (patch)
treed8d0a8449972a46e551be3b94e7dd02b6107b119 /config/environments/test.rb
initial import with edge rails included as a submodule
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r--config/environments/test.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
new file mode 100644
index 0000000..496eb95
--- /dev/null
+++ b/config/environments/test.rb
@@ -0,0 +1,27 @@
1# Settings specified here will take precedence over those in config/environment.rb
2
3# The test environment is used exclusively to run your application's
4# test suite. You never need to work with it otherwise. Remember that
5# your test database is "scratch space" for the test suite and is wiped
6# and recreated between test runs. Don't rely on the data there!
7config.cache_classes = true
8
9# Log error messages when you accidentally call methods on nil.
10config.whiny_nils = true
11
12# Show full error reports and disable caching
13config.action_controller.consider_all_requests_local = true
14config.action_controller.perform_caching = false
15
16# Disable request forgery protection in test environment
17config.action_controller.allow_forgery_protection = false
18
19# Tell Action Mailer not to deliver emails to the real world.
20# The :test delivery method accumulates sent emails in the
21# ActionMailer::Base.deliveries array.
22config.action_mailer.delivery_method = :test
23
24# Use SQL instead of Active Record's schema dumper when creating the test database.
25# This is necessary if your schema can't be completely dumped by the schema dumper,
26# like if you have constraints or database-specific column types
27# config.active_record.schema_format = :sql \ No newline at end of file