brian-watkins/elm-spec/2.1.0

NOTE: the latest version is 3.3.2

Spec.Command

Functions to work with Cmd values in a spec.

send : Cmd msg -> Context model -> Command msg

A step that sends a command.

fake : msg -> Cmd msg

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