ESpec.Assertions.EnumString.HaveCount (ESpec v1.10.0)

View Source

Defines 'have_count' assertion.

it do: expect(enum).to have_count(value)

it do: expect(string).to have_count(value)

Summary

Functions

assert(subject, data, positive \\ true)

assert(subject, data, positive, stacktrace)