Install ruby-test-after-commit by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-test-after-commit
Description:
makes after_commit callbacks testable in Rails 3+ with transactional_fixtures
Make after_commit callbacks fire in tests for Rails 3+ with transactional_fixtures = true. . Learn more: /usr/share/docs/ruby-test-after-commit/Readme.md
Homepage: https://github.com/grosser/test_after_commit
Version: 1.0.0-1build1
Section: universe/ruby