ESpec v0.8.21 ESpec.Assertions.Enum.HaveMaxBy

Defines ‘have_max_by’ assertion.

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

Summary

Functions

assert(subject, data, positive \\ true)