ESpec v1.6.0 ESpec.Assertions.RaiseException View Source

Defines ‘raise_exception’ assertion.

it do: expect(function).to raise_exception

it do: expect(function).to raise_exception(ErrorModule)

it do: expect(function).to raise_exception(ErrorModule, “message”)

Link to this section Summary

Link to this section Functions

Link to this function assert(subject, data, positive \\ true) View Source
Link to this function assert(subject, data, positive, stacktrace) View Source