Changeset [2449fcc1650827e1a383103b76f49c0001593c81] by Ebrahim Kobeissi
Revision 2449fcc1650827e1a383103b76f49c0001593c81,
committed by Ebrahim Kobeissi
· January 13th, 2016 @ 05:43 PM
Fixes incorrect permitted states
Permitted states now returns the correct states when an event
has more than one transition, and if a transition uses a guard.
https://github.com/aasm/aasm/commit/2449fcc1650827e1a383103b76f49c0...
3 changed files
-
A
spec/models/multi_transitioner.rb -
M
lib/aasm/instance_base.rb -
M
spec/unit/inspection_spec.rb