View Source Kalevala.ConnTest (kalevala v0.1.0)
Test helpers for testing Controllers/Commands/Actions/etc
Link to this section Summary
Functions
Assert the expected actions match the actions stored in the conn
Build a simple conn struct for the character
Generate an event struct
Refresh the conn struct for the character
Link to this section Functions
Assert the expected actions match the actions stored in the conn
This expects the order to match and have no extra actions in the actual_actions
.
Build a simple conn struct for the character
Generate an event struct
Refresh the conn struct for the character
Copies out an updated character and the session