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

View Source

Defines 'have_at' assertion.

it do: expect(enum).to have_at(pos, value)

it do: expect(string).to have_at(pos, value)

Summary

Functions

assert(subject, data, positive \\ true)

assert(subject, data, positive, stacktrace)