Tyler Hogan
77cd065eeb
Deep clone state machine during inheritance (with tests) ( #429 )
...
* Deep clone state machine during inheritance.
Allows child classes to extend the parent state machine without modifying the parents state machine.
* Add tests
* Also need to clone global callbacks to support inheritance
* Added tests to ensure parent is not changed in inheritance
2017-03-08 12:28:27 +05:30
Thorsten Böttger
4c23e288db
let class names reflect its purpose (in tests)
2015-05-15 23:09:25 +12:00
Thorsten Böttger
34de314baa
using RSpec 2.99 now (preparing RSpec 3)
2014-12-14 14:53:57 +01: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
17004b3760
deprecate usage of AASM.aasm_events and AASM.aasm_states (getter methods)
2013-11-30 21:42:26 +01:00
Thorsten Böttger
41ca5679bf
deprecate usage of aasm_current_state (getter method)
2013-11-30 20:46:36 +01:00
Ernesto Tagwerker
816f5d1dc5
Moved inheritance_spec test to subclassing_spec.
2013-04-30 15:17:50 +02:00
Thorsten Böttger
5c6e0cd768
refactored tests
2012-12-03 22:54:15 +13:00