ESpec v0.8.18 ESpec.Allow

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.