ESpec v1.7.0 ESpec.Allow View Source
Defines helper functions for mocking and stubbing. These functions wrap arguments for ESpec.AllowTo module.
Link to this section Summary
Functions
Wraps arguments for ESpec.AllowTo.to/2
Wrapper for ESpec.AllowTo
Delegates to :meck.passthrough/1
Link to this section Functions
Link to this function
accept(list) View Source
Link to this function
accept(list, meck_options) View Source
Wraps arguments for ESpec.AllowTo.to/2
.
Link to this function
accept(name, func, meck_options) View Source
Link to this function
allow(module) View Source
Wrapper for ESpec.AllowTo
.
Link to this function
passthrough(args) View Source
Delegates to :meck.passthrough/1
.