diff --git a/app/controllers/rb_application_controller.rb b/app/controllers/rb_application_controller.rb index 29b2392d86..103ca08d4d 100644 --- a/app/controllers/rb_application_controller.rb +++ b/app/controllers/rb_application_controller.rb @@ -39,6 +39,8 @@ class RbApplicationController < ApplicationController before_filter :load_sprint_and_project, :check_if_plugin_is_configured, :authorize + skip_before_action :verify_authenticity_token, if: -> { Rails.env.test? } + private # Loads the project to be used by the authorize filter to determine if