ESpec.Allow (ESpec v1.10.0)

View Source

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

Summary

Functions

accept(list)

accept(list, meck_options)

Wraps arguments for ESpec.AllowTo.to/2.

accept(name, func, meck_options)

allow(module)

Wrapper for ESpec.AllowTo.

passthrough(args)

Delegates to :meck.passthrough/1.