class RequestForgeryProtectionControllerUsingNullSession

Public Instance Methods

encrypted() click to toggle source
# File actionpack/test/controller/request_forgery_protection_test.rb, line 94
def encrypted
  cookies.encrypted[:foo] = "bar"
  head :ok
end
signed() click to toggle source
# File actionpack/test/controller/request_forgery_protection_test.rb, line 89
def signed
  cookies.signed[:foo] = "bar"
  head :ok
end
try_to_reset_session() click to toggle source
# File actionpack/test/controller/request_forgery_protection_test.rb, line 99
def try_to_reset_session
  reset_session
  head :ok
end