View Source ESpec.AllowTo (ESpec v1.9.1)

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.