1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec/models
2017-11-20 10:56:32 +05:30
..
active_record Add use transaction flag 2017-08-10 12:06:31 +05:30
callbacks Add before_success event on event layer 2016-12-19 11:29:19 +02:00
dynamoid Add [dynamoid](http://github.com/Veraticus/Dynamoid) support. 2016-01-10 20:34:27 +08:00
mongoid Add whiny_persistence support and some tests for Mongoid 2017-02-24 13:01:23 +05:30
not_auto_loaded deprecate usage of AASM.aasm_state (setter method) 2013-11-30 21:30:07 +01:00
redis Update Redis support 2017-07-11 17:41:02 +05:30
sequel Add Sequel transactions and locking 2017-07-07 08:08:33 +05:30
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
guard_arguments_check.rb Test for aasm guard arguments (#485) 2017-08-04 17:49:22 +05:30
guard_with_params.rb Ensure nil arg is forwarded to callbacks 2016-10-05 14:23:08 +05:30
guard_with_params_multiple.rb Fix [#388] guard parameter for permissible states 2016-08-01 18:25:12 +05:30
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
guardian_without_from_specified.rb Fix guard checking when from is not provided (#456) 2017-04-27 15:52:54 +05:30
initial_state_proc.rb more tests 2015-06-26 19:46:58 +12:00
multi_transitioner.rb Fix #392, Multiple transition when one of the transitions 2016-09-06 22:33:51 +05:30
multiple_transitions_that_differ_only_by_guard.rb Add test to verify the correct transition's callbacks actually run 2016-10-12 13:56:00 -07:00
namespaced_multiple_example.rb Add aliases for event methods 2017-06-15 20:10:44 +05:30
no_initial_state.rb more tests 2015-06-26 19:46:58 +12:00
parametrised_event.rb Ensure nil arg is forwarded to callbacks 2016-10-05 14:23:08 +05:30
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 incorporate feedback using AASM configuration options 2016-02-05 15:32:34 -05:00
simple_example.rb Allow custom params for allow_event matcher 2017-11-20 10:56:32 +05:30
simple_multiple_example.rb Add binding event (#438) 2017-02-28 15:25:06 +05:30
state_machine_with_failed_event.rb allow :send as event name #257 2016-01-08 16:08:43 +13:00
states_on_one_line_example.rb allow multiple states to be defined on one line 2015-12-02 02:38:56 -07:00
sub_class.rb Deep clone state machine during inheritance (with tests) (#429) 2017-03-08 12:28:27 +05:30
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
valid_state_name.rb more tests 2015-06-26 19:46:58 +12:00