View Source ESpec.AssertionHelpers (ESpec v1.9.2)

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

Summary

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