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

3 commits

Author SHA1 Message Date
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
7c02bafcad add tests for subclassing classes with multiple state machines 2015-07-01 21:35:04 +12:00
Thorsten Böttger
4c23e288db let class names reflect its purpose (in tests) 2015-05-15 23:09:25 +12:00