spy (0.4.5)

Ryan Ong
2016-07-26T21:15:48Z

A simple modern mocking library that uses the spy pattern and checks method's existence and arity.

Spy is a mocking library that was made for the modern age. It supports only 1.9.3+. 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.