aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r--config/environments/test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index ed87e5ecf..216998288 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -18,4 +18,7 @@ config.action_controller.perform_caching = false
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
- config.gem 'rspec-rails', :version => '>= 1.3.3', :lib => false unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails'))
+config.gem 'rspec-rails', :version => '>= 1.3.3', :lib => false unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails'))
+
+# Disable request forgery protection in test environment
+config.action_controller.allow_forgery_protection = false \ No newline at end of file