ESpec.Assertions.ContainExactly (ESpec v1.10.0)

View Source

Defines the 'contain_exactly' assertion (or match_list) - the lists have the same elements (possibly in a different order).

it do: expect(actual).to contain_exactly(expected) it do: expect(actual).to match_list(expected)

Summary

Functions

assert(subject, data, positive \\ true)

assert(subject, data, positive, stacktrace)