ESpec v1.4.3 ESpec.Assertions.Enum.HaveMaxBy View Source

Defines ‘have_max_by’ assertion.

it do: expect(collection).to have_max_by(func, value)

Link to this section Summary

Link to this section Functions

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