class MemCacheStoreTest::TestController

Public Instance Methods

call_reset_session() click to toggle source
# File actionpack/test/dispatch/session/mem_cache_store_test.rb, line 31
def call_reset_session
  session[:bar]
  reset_session
  session[:bar] = "baz"
  head :ok
end
get_session_id() click to toggle source
# File actionpack/test/dispatch/session/mem_cache_store_test.rb, line 27
def get_session_id
  render plain: "#{request.session.id}"
end
get_session_value() click to toggle source
# File actionpack/test/dispatch/session/mem_cache_store_test.rb, line 23
def get_session_value
  render plain: "foo: #{session[:foo].inspect}"
end
no_session_access() click to toggle source
# File actionpack/test/dispatch/session/mem_cache_store_test.rb, line 9
def no_session_access
  head :ok
end
set_serialized_session_value() click to toggle source
# File actionpack/test/dispatch/session/mem_cache_store_test.rb, line 18
def set_serialized_session_value
  session[:foo] = SessionAutoloadTest::Foo.new
  head :ok
end
set_session_value() click to toggle source
# File actionpack/test/dispatch/session/mem_cache_store_test.rb, line 13
def set_session_value
  session[:foo] = "bar"
  head :ok
end