ESpec v1.4.3 ESpec.Assertions.ListString.HaveLast View Source

Defines ‘have_last’ assertion.

it do: expect(list).to have_last(value)

it do: expect(string).to have_last(value)

Link to this section Summary

Link to this section Functions

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