ESpec.Assertions.Enum.HaveMaxBy

Defines ‘have_max_by’ assertion.

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

Source

Summary

assert(subject, data, positive \\ true)

Functions

assert(subject, data, positive \\ true)
Source