summaryrefslogtreecommitdiffstats
path: root/config/environments/test_sqlite3.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 14:24:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 14:24:19 +0000
commit5e2a01656df1b98f82a0565271b6d527d8fefbf4 (patch)
tree54d00a6e9708051e99b9078845b63e64be23bb17 /config/environments/test_sqlite3.rb
parentd79c20c4f28f9b43f1bc105cb590d244c1b322f2 (diff)
downloadredmine-5e2a01656df1b98f82a0565271b6d527d8fefbf4.tar.gz
redmine-5e2a01656df1b98f82a0565271b6d527d8fefbf4.zip
Test environments cleanup.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1084 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environments/test_sqlite3.rb')
-rw-r--r--config/environments/test_sqlite3.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/environments/test_sqlite3.rb b/config/environments/test_sqlite3.rb
new file mode 100644
index 000000000..35bb19bee
--- /dev/null
+++ b/config/environments/test_sqlite3.rb
@@ -0,0 +1,16 @@
+# 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
+
+config.action_mailer.delivery_method = :test \ No newline at end of file