Changeset [fc8b5efaa82b88a95f40a8e7855ad6016e4faf9c] by Anil

September 19th, 2016 @ 10:43 AM

Add spec to make sure that :after_commit callback

does not get triggered if validation failed when
auto-save (bang) method is used.
https://github.com/aasm/aasm/commit/fc8b5efaa82b88a95f40a8e7855ad60...

Committed by Anil

  • M spec/en.yml
  • M spec/models/validator.rb
  • M spec/unit/persistence/active_record_persistence_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Library for adding state machines to Ruby classes. Includes persistence layers for things like ActiveRecord. Formerly known as acts_as_state_machine.