View Source ESpec.Assertions.ListString.HaveLast (ESpec v1.9.2)

Defines 'have_last' assertion.

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

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

Summary

Functions

Link to this function

assert(subject, data, positive \\ true)

View Source
Link to this function

assert(subject, data, positive, stacktrace)

View Source