Methods
- T
-
- test_calling_delete_removes_item_and_returns_its_value,
- test_calling_update_with_params_passes_to_attributes,
- test_clear_empties_session,
- test_fetch_on_string_returns_value,
- test_fetch_on_symbol_returns_value,
- test_fetch_returns_block_value,
- test_fetch_returns_default,
- test_initialize_with_values,
- test_keys_and_values,
- test_setting_session_item_sets_item
Instance Public methods
test_calling_delete_removes_item_and_returns_its_value()
Link
# File actionpack/test/dispatch/session/test_session_test.rb, line 17 def test_calling_delete_removes_item_and_returns_its_value session = ActionController::TestSession.new session[:key] = 'value' assert_equal('value', session[:key]) assert_equal('value', session.delete(:key)) assert_nil(session[:key]) end
test_calling_update_with_params_passes_to_attributes()
Link
test_clear_empties_session()
Link
test_fetch_on_string_returns_value()
Link
test_fetch_on_symbol_returns_value()
Link
test_fetch_returns_block_value()
Link
test_fetch_returns_default()
Link
test_initialize_with_values()
Link
test_keys_and_values()
Link