rspec-mockbidden: Forbid Unwanted RSpec Mocks
Utility gem for RSpec testing framework to forbid mocking methods on objects/classes/modules, evaluated at test runtime.
Ruby Stuff
Utility gem for RSpec testing framework to forbid mocking methods on objects/classes/modules, evaluated at test runtime.
It’s a story that begins with a pull request and ends with a Zen Buddhist saying.
How to run RuboCop on real-world data and generate offense reports to share with other people.
A guide on how to remove noise from structure.sql diffs in Rails when working with MySQL.
An RSpec spec to verify FactoryBot.build doesn’t interact with the DB.
Here’s how to set up a RuboCop workflow on GitHub Actions with caching for faster workflow runs.