dummy v1.2.1 Dummy View Source

Documentation for Dummy.

Link to this section Summary

Functions

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

Link to this section 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.