ESpec v1.6.0 ESpec.AllowTo View Source

Defines to/2 function which makes the mock.

Link to this section Summary

Functions

Makes specific mock with ESpec.Mock.expect/3

Link to this section Functions

Makes specific mock with ESpec.Mock.expect/3.