aasm/spec
Scott Barron 61b6b8ec06 Add two event callbacks:
aasm_event_fired(from, to) - called when an event is fired successfully
aasm_event_failed(event)   - called when an event fails

These could be used to implement transition logging [Artem Vasiliev] or
setting a timestamp column [Mike Ferrier] as well as other pieces of love and magic.
2008-03-02 07:52:46 -05:00
..
functional More consistent aasm_ namespacing 2008-02-21 12:59:28 -05:00
unit Add two event callbacks: 2008-03-02 07:52:46 -05:00
spec_helper.rb Further set up for functional tests 2008-02-21 12:32:04 -05:00