class RequestForgeryProtectionControllerUsingNullSessionTest

Public Instance Methods

setup() click to toggle source
# File actionpack/test/controller/request_forgery_protection_test.rb, line 638
def setup
  @request.env[ActionDispatch::Cookies::GENERATOR_KEY] = NullSessionDummyKeyGenerator.new
end