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

Defines ‘have_count_by’ assertion.

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

Link to this section Summary

Link to this section Functions

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