View Source Dummy (dummy v2.0.0)

Documentation for Dummy.

Summary

Functions

Mocks methods of a single module. Mocked methods return their first argument by default and non-mocked methods are passed through.

Functions

Link to this function

apply_options(module, options)

View Source
Link to this macro

dummy(module_name, methods_list, options \\ [], list)

View Source (macro)

Mocks methods of a single module. Mocked methods return their first argument by default and non-mocked methods are passed through.