Module | AfterCommit |
In: |
lib/after_commit.rb
lib/after_commit/active_support_callbacks.rb lib/after_commit/connection_adapters.rb lib/after_commit/active_record.rb lib/after_commit/after_savepoint.rb |
The single transaction means that after_commit callback never happens in tests. Instead use savepoints.