1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec/unit
Wildfalcon 323036104e Updated the way error callbacks work
If a callback is declared (:error => :error_method) and error_method exists
then error_method is called if an error is raised

If a callback is declared but the method does not exist, then a NoMethodError
is raised if an error is raised

If no callback is declard, then any error raised will get propogated
2009-12-02 10:43:49 +00:00
..
aasm_spec.rb Updated the way error callbacks work 2009-12-02 10:43:49 +00:00
active_record_persistence_spec.rb whitespace ninja 2009-05-27 20:33:04 -04:00
before_after_callbacks_spec.rb make spec match reality 2009-06-07 03:41:04 -04:00
event_spec.rb Adding support to have arrays of procs, strings and symbols 2009-04-09 10:36:34 -03:00
state_spec.rb Changed state change actions to allow halting the chain 2009-11-30 16:38:00 +00:00
state_transition_spec.rb removing extra spaces 2009-04-09 10:36:34 -03:00