From 907045488d404bb6f608b1757279fef31e9485c6 Mon Sep 17 00:00:00 2001 From: cktricky Date: Fri, 9 Jan 2015 11:40:37 -0500 Subject: [PATCH] this change allows the app to get the csrf fixes working when running rake training --- config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index 71d265d..d842cdd 100755 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -22,7 +22,7 @@ Railsgoat::Application.configure do config.action_dispatch.show_exceptions = false # Disable request forgery protection in test environment - config.action_controller.allow_forgery_protection = false + config.action_controller.allow_forgery_protection = true # Tell Action Mailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the