update state date in aasm after callbacks
call aasm event methods, not state methods directly
This commit is contained in:
parent
161b63f487
commit
f631acd118
5 changed files with 52 additions and 41 deletions
|
@ -657,7 +657,7 @@ describe Users::DossiersController, type: :controller do
|
|||
let!(:invite) { create(:invite, dossier: dossier, user: user) }
|
||||
|
||||
before do
|
||||
dossier.en_construction!
|
||||
dossier.passer_en_construction!
|
||||
subject
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue