jdliss / shoulda-callback-matchers

Test existence of your Rails callbacks without having to call them
MIT License
134 stars 18 forks source link

Does it support `_commit` callbacks ? #31

Open shqear93 opened 3 years ago

shqear93 commented 3 years ago

Does it supports after_commit and after_create_commit callbacks?

nukturnal commented 11 months ago

I think you can get around it with something like this

it { should callback(:send_confirmation).after(:create).after(:commit) }