Closed VOjha closed 8 years ago
Issue #35
Explicitly call Kernel.fail instead of fail. This will prevent a transition named :fail from messing up the InvalidTransition error.
Kernel.fail
fail
:fail
InvalidTransition
@alexpeachey
Please add a test that shows a machine with a fail action and then use that machine to make an invalid transition to show the exception gets thrown instead of the fail action swallowing it.
@alexpeachey Tests added
Issue #35
Explicitly call
Kernel.fail
instead offail
. This will prevent a transition named:fail
from messing up theInvalidTransition
error.@alexpeachey