ESpec.Allow
Defines helper functions for mocking and stubbinf. These fucntions wrap arguments for ESpec.AllowTo module.
Summary↑
| accept(list) | |
| accept(name, func) | Wraps arguments for |
| accept(name, func, meck_options) | |
| allow(module) | Wrapper for |
| passthrough(args) | Delegates to |
Functions
Wraps arguments for ESpec.AllowTo.to/2.
Wrapper for ESpec.AllowTo.
Delegates to :meck.passthrough/1.