1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec
Daniel Dao 2198b47ac0
Raise AASM::UndefinedState when calling fire or fire! with undefined event names (#753)
*  Add error condition for unknown events firing

* Some linter

* ♻️ Refactor + add tests
2021-10-12 08:23:27 +05:30
..
generators Fix specs, rename job model to work 2018-11-15 14:48:31 +05:30
models fix: timestamp will work with named machine 2021-04-23 14:29:09 +05:30
spec_helpers Test against for Rails 6.0 2021-06-28 10:38:45 +05:30
unit Raise AASM::UndefinedState when calling fire or fire! with undefined event names (#753) 2021-10-12 08:23:27 +05:30
database.rb add specs 2021-03-25 14:06:04 +05:30
database.yml using real database connections for testing to reduce dependency on Rails version (previously mocked away ActiveRecord connection, which is not used in Rails 3.1 anymore) 2011-08-31 23:49:09 +02:00
en.yml Fix tests for Localizer (#689) 2020-08-05 20:27:12 +05:30
localizer_test_model_deprecated_style.yml Adds specs for state#display_name for localization 2020-10-15 14:22:31 +05:30
localizer_test_model_new_style.yml Adds specs for state#display_name for localization 2020-10-15 14:22:31 +05:30
spec_helper.rb Fix tests for Localizer (#689) 2020-08-05 20:27:12 +05:30