View Source ESpec.Assertions.Enum.HaveMaxBy (ESpec v1.9.2)

Defines 'have_max_by' assertion.

it do: expect(collection).to have_max_by(func, 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