brian-watkins / elm-spec / Spec.Command

Functions to work with Cmd values in a spec.

send : Platform.Cmd.Cmd msg -> Spec.Step.Step model msg

A step that sends a command.

fake : msg -> Platform.Cmd.Cmd msg

Generate a Cmd value that will send a Msg to the update function provided in the setup of the scenario.