ESpec v1.7.0 ESpec.AssertionHelpers View Source

Defines helper functions for modules which use ESpec. These functions wrap arguments for ESpec.ExpectTo module. See ESpec.Assertion module for corresponding 'assertion modules'

Link to this section Summary

Link to this section Functions

Link to this function

accepted(func, args \\ :any, opts \\ [pid: :any, count: :any]) View Source

Link to this function

be(operator, value, arg3) View Source

Link to this function

be_close_to(value, delta) View Source

Link to this function

change(func, before, value) View Source

Link to this function

have_count_by(func, val) View Source

Link to this function

have_max_by(func, value) View Source

Link to this function

have_min_by(func, value) View Source

Link to this macro

match_pattern(pattern) View Source (macro)

Link to this function

raise_exception(exception) View Source

Link to this function

raise_exception(exception, message) View Source