ESpec.Allow

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

Source

Summary

accept(list)
accept(name, func)

Wraps arguments for ESpec.AllowTo.to/2

allow(module)

Wrapper for ESpec.AllowTo

passthrough(args)

Delegates to :meck.passthrough/1

Functions

accept(list)
Source
accept(name, func)

Wraps arguments for ESpec.AllowTo.to/2.

Source
allow(module)

Wrapper for ESpec.AllowTo.

Source
passthrough(args)

Delegates to :meck.passthrough/1.

Source