1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec/models
2016-02-05 15:32:34 -05:00
..
active_record Fix specs for #265 2015-10-16 01:27:44 +05:30
callbacks attempt add global before transitions 2015-11-04 22:01:13 -05:00
dynamoid Add [dynamoid](http://github.com/Veraticus/Dynamoid) support. 2016-01-10 20:34:27 +08:00
mongo_mapper test support for MongoMapper and multiple state machines per class 2015-07-11 22:10:04 +12:00
mongoid add a complex example spec for Mongoid 2015-07-11 22:10:47 +12:00
not_auto_loaded deprecate usage of AASM.aasm_state (setter method) 2013-11-30 21:30:07 +01:00
sequel extract Sequel test models into model files 2015-07-11 22:36:07 +12:00
basic_two_state_machines_example.rb add basic examples with two state machines 2015-07-20 20:55:47 +12:00
complex_example.rb more tests 2015-06-26 19:46:58 +12:00
conversation.rb more tests 2015-06-26 19:46:58 +12:00
default_state.rb distinguish between ActiveRecord class and plain Ruby classes 2015-05-15 22:37:28 +12:00
double_definer.rb callback :on_transition renamed to :after and changed its binding (see #59) 2014-09-12 14:30:36 +02:00
foo.rb working tests to prevent foo bleed across multiple scenarios 2015-11-05 10:46:06 -05:00
foo_callback_multiple.rb more tests 2015-06-26 19:46:58 +12:00
guardian.rb fix arity difference between Procs and lambdas (see #293 for details) 2016-01-05 23:51:11 +13:00
guardian_multiple.rb more tests 2015-06-26 19:46:58 +12:00
initial_state_proc.rb more tests 2015-06-26 19:46:58 +12:00
invalid_persistor.rb first set of ActiveRecord tests 2015-07-01 23:41:44 +12:00
multi_transitioner.rb Fixes incorrect permitted states 2016-01-13 17:43:22 -05:00
no_initial_state.rb more tests 2015-06-26 19:46:58 +12:00
parametrised_event.rb using default name (all tests green) 2015-05-26 21:29:17 +12:00
parametrised_event_multiple.rb more tests 2015-06-26 19:46:58 +12:00
process_with_new_dsl.rb made sure, old state callbacks are still working with the new dsl 2011-11-25 23:55:56 +01:00
provided_state.rb using default name (all tests green) 2015-05-26 21:29:17 +12:00
silencer.rb make sure to use override configuration options if state machine is defined more than once (see #287) 2015-12-08 22:55:44 +13:00
simple_custom_example.rb Make it easier to monkey patch into AASM 2016-02-05 15:32:34 -05:00
simple_example.rb let class names reflect its purpose (in tests) 2015-05-18 20:40:54 +12:00
simple_multiple_example.rb first tests for state machines with multiple state attributes 2015-05-26 21:29:17 +12:00
state_machine_with_failed_event.rb allow :send as event name #257 2016-01-08 16:08:43 +13:00
sub_class.rb add tests for subclassing classes with multiple state machines 2015-07-01 21:35:04 +12:00
sub_class_with_more_states.rb add tests for subclassing classes with multiple state machines 2015-07-01 21:35:04 +12:00
sub_classing.rb fix initializer to keep existing options (originating from superclass) 2012-04-02 11:44:53 +02:00
super_class.rb add tests for subclassing classes with multiple state machines 2015-07-01 21:35:04 +12:00
this_name_better_not_be_in_use.rb one file per test model class 2013-04-21 18:43:03 +02:00
transactor.rb first set of ActiveRecord tests 2015-07-01 23:41:44 +12:00
valid_state_name.rb more tests 2015-06-26 19:46:58 +12:00
validator.rb introduce before and after all transactions 2015-11-05 13:32:58 -05:00
worker.rb supporting ActiveRecord transactions when firing an event 2012-10-24 21:03:09 +13:00