1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
Commit graph

30 commits

Author SHA1 Message Date
Thorsten Böttger
cf7ac74664 make sure to use parameterised aasm everywhere 2015-05-26 21:29:17 +12:00
Thorsten Böttger
34de314baa using RSpec 2.99 now (preparing RSpec 3) 2014-12-14 14:53:57 +01:00
Thorsten Böttger
8f7f1b2da8 bugfix: avoid Rails autoloading conflicts (see #137 and #139) 2014-11-28 22:22:43 +01:00
Thorsten Böttger
aac1ece778 fire guards only once per transition #184 2014-11-19 23:34:39 +01:00
Thorsten Böttger
72b0257734 callback :on_transition renamed to :after and changed its binding (see #59) 2014-09-12 14:30:36 +02:00
Thorsten Böttger
0adf6c5799 allow retrieving the current event (see #159 and #168) 2014-09-12 11:42:01 +02:00
Daniel Rikowski
40b9848571 transitions_from_state considers missing from state 2014-06-13 21:05:14 +02:00
Peter M. Goldstein
caa9d9dcc7 Update specs to use 'expect' syntax using transpec. Loosed gemspec to allow rspec versions greater than 2.14.x 2014-01-11 08:10:59 -08:00
Thorsten Böttger
a7842dc289 still supporting Ruby 1.8.7 2013-12-01 00:08:50 +01:00
Thorsten Böttger
a35d7db34c deprecate usage of Event#all_transitions (getter method) 2013-11-30 22:49:39 +01:00
Thorsten Böttger
3cb9ec2e16 deprecate usage of AASM.aasm_event (setter method) 2013-11-30 21:36:28 +01:00
Thorsten Böttger
41ca5679bf deprecate usage of aasm_current_state (getter method) 2013-11-30 20:46:36 +01:00
Thorsten Böttger
ad48863e7a using the latest version of rspec 2013-11-15 11:19:26 +01:00
Thorsten Böttger
d88fa9f2bc refactored SupportClasses away 2013-02-22 16:02:40 +13:00
Thorsten Böttger
9244ea02a1 reflecting the class structure in the specs as well 2012-12-09 22:35:35 +13:00
Thorsten Böttger
48075783ce cleaning up specs, part x 2012-12-09 22:32:32 +13:00
Thorsten Böttger
292138f823 cleaning up specs 2012-12-04 16:27:47 +13:00
Thorsten Böttger
6160269635 better naming (test classes) 2012-12-02 20:54:58 +13:00
Thorsten Böttger
475985f282 started to clean up the specs 2012-11-28 22:42:41 +13:00
Thorsten Böttger
ccdb2c9790 supporting event inspection for to-states transitions (Event#transitions_to_state?) 2012-11-06 11:51:05 +13:00
Thorsten Böttger
1b7dfd628b cleaned up event tests 2012-11-06 11:38:50 +13:00
Thorsten Böttger
5981d23f0b moved exception handling into base class (away from event-fire 2011-11-26 20:34:25 +01:00
Thorsten Böttger
31258e7636 unified test and spec (using spec only now) 2011-10-15 17:32:28 +02:00
Ravi Bhim
7fe7e2ed57 Passing event arguments to the guard function 2011-03-21 20:01:45 -07:00
Travis Tilley
d853e9cb26 fix various tests 2010-08-27 16:35:26 -04:00
Joao Vitor
f2c9c28ae7 Adding support to have arrays of procs, strings and symbols 2009-04-09 10:36:34 -03:00
Jon Distad
f44a808636 Added support for lambdas and arrays of method symbols to success callback 2008-10-09 10:53:39 -04:00
Scott Barron
cd4f9146aa This spec wasn't really working right. 2008-08-13 17:56:16 -04:00
Edgecase Pair One
fc86784602 Added success callback which takes place after persistent aasm writes 2008-05-20 15:27:35 -04:00
Scott Barron
7a734376c4 Reorg spec dir to have units and functionals 2008-02-21 12:18:08 -05:00
Renamed from spec/event_spec.rb (Browse further)