X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15f23469d97b768501bac8b58081cb61bcdd8b4b..8df391f41f3be43866e655dae5c6a52c7c0a2aa6:/config/environments/test.rb?ds=inline diff --git a/config/environments/test.rb b/config/environments/test.rb index f0689b924..a26b6ef92 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -13,7 +13,13 @@ config.whiny_nils = true 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 ActionMailer 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 \ No newline at end of file +config.action_mailer.delivery_method = :test + +# Load timecop to help with testing time dependent code +config.gem 'timecop'