ESpec.Allow (ESpec v1.8.3) View Source

Defines helper functions for mocking and stubbing. These functions wrap arguments for ESpec.AllowTo module.

Link to this section Summary

Link to this section Functions

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

Wrapper for ESpec.AllowTo.

Delegates to :meck.passthrough/1.