annotate config/environments/test.rb @ 1452:d6b9fd02bb89
feature_36_js_refactoring
Deprecated develoment branch.
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Fri, 11 Oct 2013 17:01:24 +0100 |
parents |
94944d00e43c |
children |
433d4f72a19b |
rev |
line source |
Chris@0
|
1 # Settings specified here will take precedence over those in config/environment.rb
|
Chris@0
|
2
|
Chris@0
|
3 # The test environment is used exclusively to run your application's
|
Chris@0
|
4 # test suite. You never need to work with it otherwise. Remember that
|
Chris@0
|
5 # your test database is "scratch space" for the test suite and is wiped
|
Chris@0
|
6 # and recreated between test runs. Don't rely on the data there!
|
Chris@0
|
7 config.cache_classes = true
|
Chris@0
|
8
|
Chris@0
|
9 # Log error messages when you accidentally call methods on nil.
|
Chris@0
|
10 config.whiny_nils = true
|
Chris@0
|
11
|
Chris@0
|
12 # Show full error reports and disable caching
|
Chris@0
|
13 config.action_controller.consider_all_requests_local = true
|
Chris@0
|
14 config.action_controller.perform_caching = false
|
Chris@0
|
15
|
Chris@0
|
16 config.action_mailer.perform_deliveries = true
|
Chris@0
|
17 config.action_mailer.delivery_method = :test
|
Chris@0
|
18
|
Chris@0
|
19 config.action_controller.session = {
|
chris@37
|
20 :key => "_test_session",
|
Chris@0
|
21 :secret => "some secret phrase for the tests."
|
Chris@0
|
22 }
|
Chris@0
|
23
|
Chris@0
|
24 # Skip protect_from_forgery in requests http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
|
Chris@0
|
25 config.action_controller.allow_forgery_protection = false
|
Chris@0
|
26
|
Chris@0
|
27 config.gem "shoulda", :version => "~> 2.10.3"
|
Chris@0
|
28 config.gem "edavis10-object_daddy", :lib => "object_daddy"
|
Chris@0
|
29 config.gem "mocha"
|