spy
Spy is a mocking library that was made for the modern age. It supports only 2.1.0+. Spy by default will raise an error if you attempt to stub a method that doesn't exist or call the stubbed method with the wrong arity.
Types
Docs
Guides
Zeitwerk
Namespace
Optimized
1.0.5
Ryan Ong
bundle add spy
Getting Started
Learn more about the Spy gem.
Playground
Test, play and inspect the gem for yourself