1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec/models
2023-02-05 20:57:20 +08:00
..
active_record add specs 2021-03-25 14:06:04 +05:30
callbacks Fix callback argument for :before_success & :success callback. 2019-05-20 17:56:52 +05:30
dynamoid Add [dynamoid](http://github.com/Veraticus/Dynamoid) support. 2016-01-10 20:34:27 +08:00
mongoid Add simple option for auto-generated timestamps 2021-03-08 09:55:14 +05:30
nobrainer Add support for Nobrainer (RethinkDB) 2018-02-13 12:49:27 +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 Remove ruby 2.3 support and fix human_state to use display option 2020-08-11 19:48:07 +05:30
double_definer.rb callback :on_transition renamed to :after and changed its binding (see #59) 2014-09-12 14:30:36 +02:00
event_with_keyword_arguments.rb Fixed an error in Ruby 3 when specifying a method that takes keyword arguments, such as event's before hook. (#777) 2022-04-14 23:31:56 +05:30
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 README: fix typo of transition 2023-02-05 20:57:20 +08:00
simple_example.rb Feature: Add permitted_transitions to group permitted event with state (#664) 2020-02-08 18:19:30 +05:30
simple_example_with_guard_args.rb Move Gaurd args rspec to simple_example_with_guard_args.rb 2017-11-20 12:08:49 +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
timestamps_example.rb Add simple option for auto-generated timestamps 2021-03-08 09:55:14 +05:30
timestamps_with_named_machine_example.rb fix: timestamp will work with named machine 2021-04-23 14:29:09 +05:30
valid_state_name.rb more tests 2015-06-26 19:46:58 +12:00