ESpec v1.6.0 ESpec.Assertions.ContainExactly 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)

Link to this section Summary

Link to this section Functions

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